Search Results for 'block'

Results from the Forum
webjump
tagDiv Member

Brilliant! Thank you Lucian.

10/10 support my friend :))

Lucian
tagDiv Staff

Hi,

Thanks @TheMediumUTM, that’s right!!

@sbo

You would have to use a more specific selector, try using this id #td-top-mobile-toggle on mobile, like this:

@media (max-width: 767px) {
   #td-top-mobile-toggle .sf-menu {
    display: block;
    float: left !important;
    margin-left: 0px;
    margin-right: 0px;
}

This way you will select only the mobile menu and the other will remain hidden like it should and you will be able to center the menu as you like but you will also have to center or work on the search icon also.

Thanks

Pjump
Participant
#0

Hi,
I have a article that is showed in multiple blocks in my homepage.
Is possible to set in witch block this article is showed? What is the criteria used by the unique article feature?

Lucian
tagDiv Staff

Hi,

Add the css like this:

.td_mod_wrap .entry-title a {
font-family: Merriweather !important;
font-size: 22px !important;
line-height: 28px !important;
color: #000000 !important;
}

Should work, like this: http://screencast.com/t/8eQZdDwc2
Just change the font-family/font-size/line-height/color as you like.

Thanks

Lucian
tagDiv Staff

Hi,

You have an option for this when editing a block: http://screencast.com/t/PkQbBM2T
Result: http://screencast.com/t/ZfumZtT2W4a

Thanks

Lucian
tagDiv Staff

Hi,

Sorry for the delay, have you managed to fix the space above the big slider issue? I have checked your site and seems fine to me. The only space you have there now comes from the container block that wraps the page content and you can remove it or reduce it using this custom css in Theme Panel > Custom CSS filed, like this: http://screencast.com/t/NxpJv7s97q

.td-grid-wrap {
padding-top: 10px;
} 

I have set here the space above the big slider to be at 10px but you can change this value as you like.
Hope this helps!

Thanks

  • This reply was modified 12 years by Lucian.
TheMediumUTM
tagDiv Member

1. That widget looks like a normal TagDiv slider pulling from a category or tag slug. You can find this in your widgets list. I don’t want to install the demo site and check but it’ll be something like that.

2. The block options, whether widget or in the visual editor, have a setting “show child categories menu” that you can check for this effect.

TheMediumUTM
tagDiv Member

The issue looks like the fact that you’re setting .sf-menu to display: block on screens smaller than 767px. The team has designed the two menus (desktop and mobile) to both exist on the page and just hide one or the other using display: none. (Not a great way to do it in terms of SEO but they say they’re working on it.) By setting sf-menu to display:block you’re forcing it to show on mobile too.

The actual mobile menu id is #td-mobile-nav — that’s the one that slides in on the side. The little toggle icon for it is td-top-mobile-toggle. Your CSS would want to affect one of those. But are you sure you want to centre the mobile menu as well? There isn’t much to centre. 🙂

TheMediumUTM
tagDiv Member

Thanks. That’s what I tried at first, but it looks like the condition is never triggered because the output isn’t so straightforward. (I realized that the condition doesn’t even specify the header, so it wouldn’t pull the right ad box anyway.)

A var_dump of

td_global_blocks::get_instance('td_ad_box'))

yields

object(td_ad_box)#1657 (2) { ["block_id"]=> string(9) "td_ad_box" ["block_uid"]=> NULL }

whether there’s content in the header ad space or not.

In the end the condition had to be

if (td_global_blocks::get_instance('td_ad_box')->render(array('spot_id' => 'header')))

and I was wrong about using empty because what that returns is not a variable.

Thanks for the help! Hope someone else benefits from this thread.

sbo
Participant
#0

Hey guys. I am using style 3 (full width logo + menu). I am also using custom CSS for centering the menu which you provided being:

.sf-menu {
    display: table;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* responsive phone */
@media (max-width: 767px) {
    .sf-menu {
    display: block;
    float: left !important;
    margin-left: 0px;
    margin-right: 0px;
}

I have a different logo for the desktop logo and mobile logo. The mobile logo is smaller. Now on mobile view, it is showing the desktop view logo. It is also hiding behind the transparent header of the mobile view.

What is the issue here?

webjump
tagDiv Member

Hi Lucian,

I’ve changed the font to see if that was an issue but no luck with the block css:

http://www.betasite05.co.uk/

cleverliving
Participant
#0

was looking at the demo site and like the idea of the popular videos widget on the home page. i cant figure out how to create this.. is it in the visual composer and if so which box is it?

also while i am at it..

on the demo site there is a BLOCK 2 visual composer that says “Dont Miss”. Does anyone know how to get the catagories that are writen below the title ie.. All, Beauty, Get inspired, Health & Diet

Lucian
tagDiv Staff

Hi,

Do you still have this issue? Seems to me like your video is showing fine, the same way it’s displayed on YouTube
Are you referring at this black block? http://screencast.com/t/HbrbvPRtSS
If you are still encountering this problem please try to update to latest theme version 4.2 also try to disable the speed booster plugin if you are using it.
Please let me know.

Thanks

Lucian
tagDiv Staff

Hi,

You could try to structure your condition something like this:

if (!empty(td_global_blocks::get_instance('td_ad_box'))) {
echo td_global_blocks::get_instance('td_ad_box')->render(array('spot_id' => 'header'));
}
else {
place here the code for the header without the ad
}

If you don’t know how to do this I recommend you to hire a developer to do it for you.
Hope this helps!

Thanks

  • This reply was modified 12 years by Lucian.
  • This reply was modified 12 years by Lucian.
webjump
tagDiv Member

Good morning Lucian,

Thank you for your css.

I’ve added some extra code however it’s still displaying “Roboto Condensed”

.td_mod_wrap .entry-title a {
font-family: ‘open-sans’,sans-serif;
color: #4c4c4c;
font-size: 18px;
line-height: 24px;
font-weight: 400;
text-transform: uppercase;
}

Lucian
tagDiv Staff

Hi,

Please try this css:

.blog-stack .sf-menu .current-menu-item a, .blog-stack .sf-menu .current-menu-parent .current-menu-item a, .blog-stack .sf-menu .current-menu-parent > a, .blog-stack .sf-menu > li:hover > a, .blog-stack .sf-menu ul li:hover > a, .blog-stack .td-post-text-content .more-link-wrap:hover a, .blog-stack .sf-menu ul .td_mega_menu_sub_cats a.cur-sub-cat, .blog-stack .sf-menu ul .td_mega_menu_sub_cats a.cur-sub-cat:hover, .blog-stack .td-mega-menu .block-mega-child-cats a:hover, .blog-stack .td_mod_mega_menu:hover .item-details a {
color: #3daced !important;
background-color: #ffffff;
}

Remove the classes for hover if you don’t want this effect to happen when a menu item is hovered.

Hope this helps!
Thanks

paulberrow
Participant
#0

Hi!
Could you tell me how can i delete the name of this block and blue area aroun it (it’s in the file http://webfile.ru/6d32c93b110fc9cbc60e550b5433dbf3). It is block 2 on my home page, sort of slider and it’s showed also on the other pages (2, 3 and so forth). There is a span tag there, but i don’t know in which file i should look for it

Lucian
tagDiv Staff

Hi,

Yes, modify the font-family property with your font and just add the custom css in theme panel > custom css.
If you want this font to apply only on front page (add .home) or only for block 6 you may want to add .td_mod9 class.
This css:

.td_mod_wrap .entry-title a {
color: #222222;
font-family: ‘open-sans’,sans-serif;
font-weight: normal;
}

..will change all titles for all block regardless the page.
Hope this helps!

Thanks

sarang44
Participant
#0

After updating to 4.1, videos not showing properly, Please check – http://goo.gl/YMjKW7
It shows black block, before updating theme, player was fitting properly to height of video, now not showing properly

simchris
tagDiv Member

Contact Form 7 is not part of the theme, so likely a good idea to look at the support forums for the plugin here:
http://contactform7.com/faq/i-see-green-border-response-but-i-never-receive-mail/

Normally such issues are due to server configuration, and the plugin setup/settings.

Most common is that the email is going into your spam/junk/trash folder and so not being seen in your inbox, or it’s being blocked/bounced as possible spam. So, checking your server/site “error log” for PHP is a good first step.

If you’re sure it’s somehow theme related, you should first try switching to the default WP theme and see if it still does not work, and then debug your settings in the plugin for how it connects to your mail server (authentication? port? phpmailer?). If it does appear to be theme related, albeit unlikely, you should update this post with the steps you tried to debug the problem.

Hope that helped a little 🙂

TheMediumUTM
Participant
#0

I’m modifying my header template to move the ad around. I’ve got it working. But I want to make my logo return to its normal (centred) place if there’s no ad currently displaying. So I assume I can put a conditional around the ad div in my php.

My question is: what is the condition? I’m reading the line

echo td_global_blocks::get_instance('td_ad_box')->render(array('spot_id' => 'header'));

and wondering is there something like

if (!empty(td_global_blocks::get_instance('td_ad_box')))...

?

Lucian
tagDiv Staff

Hi,

What are you trying to add there? You could use the do_shortcode function to add a block for example, just go to loop-single.php file or other post templates http://screencast.com/t/8IeXdCKghap, depending on where do you want to display this and add your custom made block (use page builder to build your block as you like and then copy the shortcode http://screencast.com/t/Ed8kiEm5Xk3t and add it in the do_shortcode function) like this: http://screencast.com/t/02WxPlCC3vE

This how your code should look like:

<?php do_shortcode('[td_block3 limit="6" header_color="#000000" header_text_color="#ffffff" title_style="td_title_style_1"]'); ?>

Hope this helps!
Thanks!

Lucian
tagDiv Staff

Hi,

You can add this feature by editing the block you want the infinite load on from here: http://screencast.com/t/6pfOyy1Bl

Thanks

Pjump
Participant
#0

Hi,
There’s a problem with the categories apparently.
When I go to “Theme Panel” -> “Categories” and change, for exemple, the “Responsabilidade” category, the template don’t assume the layout (M9 block) and sidebar (CATEGORIAS – VER) that is set.

Lucian
tagDiv Staff

Hi,

For the first matter you can chose the post you want to show and add them using the “Filter by tag slug” feature, so you can add the post you want from a certain category and set them to “random”.
You can chose a specify tag to do this, “category 1” for example and add it at those post you want to add and each time you want to add a new post add this tag to it.

For the second you could use the same “Filter by tag slug” feature and set different tags, specific tags for the post you want in the first block and another for the tag you want in the other block so this way you can control the post which appear in those block and will be unique.

Hope this helps!
Thanks

Viewing 25 results - 38,426 through 38,450 (of 39,816 total)