Search Results for 'block'

Results from the Forum
tagdiv-da-beast
Participant
#0

Hello,

Please help with the following.

1. When in “normal” vertical mode, the slide displays correctly when site first loads. No problem:
Mobile display - vertical mode - no issue

2. When viewed in horizontal mode, title and image get distorted.
Horizontal view.  Issues with post title and image.

3. When returned back to homepage, issues with thumbnail and title text. Also, additional white spaces show up below the slide.
Vertical issue - ging back to home page form horizontal view

I need your help with resolving this issue if possible with custom CSS.

Thanks!

Andy
tagDiv Member

Hi Bogdan,

Thanks for your reply.My issue was I want add add content in the footer without showing the Images. That’s what I have tried to do in this footer (http://www.anandambi.com/myblog/46-2).I used Block 10 and Block 12 for that.However I can see dotted lines in between posts.I want to eliminate that.Could you please guide on how to do that

Thanks you!

Alin [tagDiv]
tagDiv Staff

Hi,

If I understand well you have Social Counter in your page but you cannot edit it. Please edit your homepage and the Social Counter block should be added directly to your page content via Visual Composer. Provide a link so I can inspect this.
The theme doesn’t have an option to add social icons to the subfooter, you will have to alter the code in footer.php file and modify a little bit the social icons code from td_footer_extra_bottom.php file – http://screencast.com/t/Qyzqo0oWYMAz
Please make a backup of your current footer.php file and test this code(replace the entire content of the file) – http://pastebin.com/dL03CAKa After this you can customize it via Custom Css in Theme Panel > Custom Css – http://screencast.com/t/u03OggUOMW5z

.td-sub-footer-container .social-footer {
float: right;
}

Thanks!

Bogdan B.
tagDiv Staff

Hello Andy,

The footer in our demo is actually footer style 1. The default footer. http://screencast.com/t/A8aBeC42A
http://demo.tagdiv.com/newspaper/
You already have that one selected, but you added content to it in the footer widgets: http://screencast.com/t/pdo2EkLdt
The predefined content that comes with the footer styles cannot be removed from the theme panel.
There are footer styles that do not contain predefined content: https://forum.tagdiv.com/footer-templates/
If you want to customize your footer with block elements, you can test different block elements here: http://demo.tagdiv.com/newspaper/block-1/

Thank you!

jonybigude
tagDiv Member

I would like to make a new and very important request:

* Offer a solution for sticky posts! for more info read this https://forum.tagdiv.com/topic/show-a-block-only-when-it-has-news/#post-72867 or this https://forum.tagdiv.com/topic/sticky-posts-2/

Thanks!

jonybigude
tagDiv Member

There is an important update to all of you searching for a solution for this:

https://forum.tagdiv.com/topic/show-a-block-only-when-it-has-news/#post-72867

Bogdan B.
tagDiv Staff

Hello,
You can also create a page in visual composer something like the one on our demo: http://demo.tagdiv.com/newspaper/homepage-blog/. And add it in your menu. You can then chose which block element to display: http://demo.tagdiv.com/newspaper/block-1/ and set a particular category to the block: https://forum.tagdiv.com/block-settings-tutorial/
I hope this helps
Thank you!

jonybigude
tagDiv Member

I’m not sure I understand you whe you say:

This is not a normal thing since that is kind of what a ‘featured’ category has traditionally been used for in WP — meaning, you have a “sticky” category, and then you only have one item in it; then edit that post when you no longer want it featured.

The sticky posts feature is off and it does not work when changing the file td_data_source.php because I am filtering several categories. I desperatly need this feature though. So, I need a workaround for this!

I have got an answer on another forum (PHP forum) to try to solve this:

add_filter('get_terms', 'get_terms_filter', 10, 3);
function get_terms_filter( $terms, $taxonomies, $args )
{
global $wpdb;
$taxonomy = $taxonomies[0];
if ( ! is_array($terms) && count($terms) < 1 )
return $terms;
$filtered_terms = array();
foreach ( $terms as $term )
{
$result = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts p JOIN $wpdb->term_relationships rl ON p.ID = rl.object_id WHERE rl.term_taxonomy_id = $term->term_id AND p.post_status = 'publish' LIMIT 1");
if ( intval($result) > 0 )
$filtered_terms[] = $term;
}
return $filtered_terms;
}

Would it work? My knowledge on PHP is very limited…

Any other solutions?

Andrei L.
tagDiv Member

Hi

By default the theme doesn’t have an option to increase thumbs size but you can use custom css to achieve that: http://screencast.com/t/mb6h468Uqd

@media (min-width: 1023px) {
.page-id-121241 .td_block_16 .td_module_mx4 {
width: 198px!important;
}
.page-id-121241 .td-block-span4{
padding-left: 5px;
}
}

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Unfortunately the config file cannot be overwritten via child theme, so you’ll have to edit the main theme file.
But you can check the documentation on how to make a new module-blockhttps://forum.tagdiv.com/td_api_blockadd/
If you don’t have programming experience I suggest that you look for a professional developer to help you with this, you can find one on places like http://studio.envato.com/

Thanks!

George
tagDiv Member

Hi Alin, Thank you so much.
The Step by step debug worked.
Please find below code I have used.

.home .td-footer-wrapper {
padding-top: 0;
}

.home .td-main-content-wrap {
padding-bottom: 0;
}


@media
(max-width: 767px) {
.home .td-page-content {
padding-bottom: 0 !important;
}
.td-footer-wrapper .td_block_3 {
margin-bottom: 10px !important;
}
}

.td_block_12 .td_module_11 {
padding-bottom: 10px;
}

.td-footer-wrapper {
padding-top: 0px;
}

.td-main-content-wrap, .td-page-content {
padding-bottom: 0px;
}

.td-footer-wrapper .td_block_3 .td_module_1 {
padding-bottom: 0px;
}
.td-footer-wrapper .td_block_wrap {
margin-bottom: 0px;
}

@media
(min-width: 1021px){
.td_block_12 .td_module_11 a img{
height: 235px!important;
}
}

Thanks!

simchris
tagDiv Member

I put images for ads into my root directory via FTP, and then call the ad banners from my plugin or widgets as mysite.vvv/pix/mybanner-460×60.png

avoid using the words “ad” from now on due to adblockers …

so /pix/ would be good directory to add manually via FTP — downside you have to upload your image via FTP.

I do that for most stuff anyway, so no big deal for me.

WordPress does not support multiple upload directories itself.

There used to be a image limit size setting in the wp admin panel; but now I think you have to set that in either wp-config.php … hmmm…. nope.

I think it’s now set on the server in your hosting panel in the php settings:
upload_max_filesize = 2M

in theory, if your server is running apache and is running scripts as fastcgi, then you can try this:

create a php.ini file and upload it into your /wp-admin folder. Then add the following:
memory_limit = 120M
upload_max_filesize = 1M
post_max_size = 32M
file_uploads = On

simchris
tagDiv Member

Like many page-builder related setups, you actually edit the “page” which has been set as the static home page; then the page builder options on that “page” let you change stuff like which category is loaded into a block, move things around in a column (move a block up or down, etc.).

So, find the “page” being set as static home page – a normal WP setup.

Then on that page launch the Visual Composer, and go to the block element you want to edit, and then change the settings from that block in side the visual editor.

Gwen
tagDiv Member

Hey guys, thanks a lot for your effort!

Finally the slider is “stretched” to its max. values

I added the following CSS:

.iosSlider-col-2 .entry-thumb {
height:100% !important;
}
.home .td-pb-span6 .td_block_slide .td-module-thumb, .home .td-pb-span6 .td_block_slide .td-module-thumb .entry-thumb {
height: 100%;
width:auto;
}

manoj.yadav
tagDiv Member

try this one by removing previous custom css code if last one did not worked

.td-js-loaded .td_block_slide .td_module_slide {
visibility: visible !important;
height: 280px !important;

}

this is the last attempt from me.

Andy
Participant
#0

Hi,

I am trying to add footer to my page(http://www.anandambi.com/myblog/46-2) however when I customize the footer I get dotted lines in between the posts which doesn’t look good also I am not sure which [tagDiv] Block should I be using in order to make the footer look as it is shown in the Demo.Could you please provide me instructions to set up the footer as showed in the demo

simchris
tagDiv Member

You would likely need to custom build some kind of new query based on a date range, like only show item/block if query to that featured category has a story newer than xx days. So else if nothing newer than xx days, show nothing.

Not sure you could do that in VC with a module — but you could likely create your own CSS for a custom block or something, and then maybe populate that spot in layout with that block?

This is not a normal thing since that is kind of what a ‘featured’ category has traditionally been used for in WP — meaning, you have a “sticky” category, and then you only have one item in it; then edit that post when you no longer want it featured.

Not sure that helps — but some food for thought anyway.

simchris
tagDiv Member

Also, you can check your error log to see if you’re getting a barrage of hack attempts, brute force attempts on your admin account, scanning your directories, testing for known bad old plugins or themes … in your domain error log you should be able to see that kind of thing then block the offending IPs.

Our server went to a crawl last year with a DDOS pummeling all our ports, DNS lookups, admin logins (luckily we use ‘limit login attempts’ plugin which auto blocks the IPs from the site for bad login attempts by bots), etc. — only way to stop that was to block the entire country of Ukraine!

So, keeping an eye on your main error log periodically, even if only first of every month is super useful to have a “sense” of who is messing with you.

tajir
tagDiv Member

thanks for your reply

i cant find anything about sosial counter block in page : http://imgur.com/7XSaLzK
i asking about put sosial icon in (TD-DEMO-FOOTER-MENU) : http://imgur.com/3NlwaZl

  • This reply was modified 10 years by tajir.
simchris
tagDiv Member

Likely best way to see what modules are in the theme is to setup a blank “page” and then launch Visual Composer and look at all the modules — you can load content from any category you want like /articles/ — as we do on one of our websites which is a magazine and has no “news” — e.g., book/movie reviews, fiction, health articles, etc.

Pages are not posts — “pages” are typically referential like “about us” or “privacy” — and “Posts” can be anything from news to articles or fiction or whatever — so you can build layouts in VC to load content by topic from any category — build one section with fiction, build one section with lifestyle, build one section with music reviews — that’s all up to you.

Easy to play with, even build multiple different home page versions and test them by turning one on/off and asking staff to evaluate, etc.

See the theme docs for examples of different modules and “blocks” — and how you might use different ones in your layout; look at the example sites from users; look at the theme demos — all of that can be great idea starters for your layouts!

example of different “block” layouts which can be mixed and matched on your home page layout:
https://forum.tagdiv.com/theme-thumbs/

Hope that helped a little 🙂

  • This reply was modified 10 years by simchris.
chrisb412
Participant
#0

Two quick questions:

For featured images, what are the recommended dimensions so that the image fills the block in the Big Grid and other displays?

Whenever i activate the Social Counter plugin I get the following error message posted in the top left of my website:

wp booster error:
Please update your [tagDiv social counter] Plugin!

How do I update the plugin? Did not find it in the general plugin store.

NP Comm
Participant
#0

Hello,

I am wondering if I am able to create custom blocks without them being wiped out during the next theme update.
I have created a custom block or two but noticed they must be registered in the td_config.php file. As you know, this file is unable to replaced within my child theme. Is there another way to create a custom block or module? Am I overlooking something? Thanks!

jonybigude
Participant
#0

Recently I have posted here something about sticky posts and made a request that you should fix this in a future update. I am still trying to get a workaround for this. It corssed my mind that a good solution for this would be that one inserts a block on the top of the main block and then filters this new block by one category only (let’s say “Sticky” category). Then, the block would be visible only when there are news on that category.

I tried to do this but it seems that the block is always visible no matter what. Please tell me that there a way to solve this! Is there!

Andrei L.
tagDiv Member

Hi

You can add the trending now block in post by pasting the shotcode in post content like here: http://screencast.com/t/OCJieBdIr or a easiest way would be to edit the file template corresponding with the post template used, and add this line of code like here: http://screencast.com/t/Jf5SKCFx5Pkahttp://screencast.com/t/7j8xHNyc6

<?php echo do_shortcode('[vc_row][vc_column][td_block_trending_now][/vc_column][/vc_row]'); ?>

Let me know how it goes.
Thanks!

  • This reply was modified 10 years by Andrei L..
Alin [tagDiv]
tagDiv Staff

Hi,

I’m not really sure what you mean. If you use Visual Composer you can add blocks to display articles from specific category/ies. So you can have different sections on the page, like you can see on our demo – http://screencast.com/t/yhFxt86TzRJhttp://demo.tagdiv.com/newspaper/
If this is not what you mean please provide more details about what you want to achieve using VC pagebuilder.

Thanks!

Viewing 25 results - 33,876 through 33,900 (of 39,816 total)