Search Results for 'header'

Results from the Forum
Bogdan B.
tagDiv Staff

Hello,

I have tested the logo on header style 7 with 90px line height and there seems to be no issue. Please remove any custom css you might have affecting the logo

Thank you!

popngen
Participant
#0

Hello!

What’s the best way to add an image/logo inbetween the text of header style 10?

http://www.papadaisuki.com

I basically want to add a small image inbetween the words “papa daisuki” and “パパ だいすき” , effectively replacing the “-” (dash).

Matija
tagDiv Member

Those arent Google Ads…

the F12 tells me this…

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://www.icvads.com/www/delivery/asyncspc.php?zones=11%7C9%7C2%7C1%7C14%7C10%7C7%7C17%7C5%7C4%7C4%7C6%7C15%7C9%7C16&prefix=revive-0-&loc=http%3A%2F%2Fwww.icv.hr%2F. (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘*’).

webstone24
tagDiv Member

Unfortunatly it doesn´t work.
I have 2 pics:
The main pic (have to displayed EVERYWHERE, “INSTEAD” of posts in the category/regional/mainz-bingen area).
I have the NEWSPAPER theme – found the ads.php, I added the code, so the ads.php looks now:

<div class=”td-header-rec-wrap”>
<?php

// show the header ad spot
echo td_global_blocks::get_instance(‘td_block_ad_box’)->render(array(‘spot_id’ => ‘header’)); ?>
<?php
if (in_category(array(‘mainz-bingen’))){
echo do_shortcode(‘[td_block_ad_box spot_id="custom_ad_3"]‘);
}
else{
locate_template(‘parts/header/ads.php’, true);
}
?>

</div>

I made an CUSTOM AD 3 also on the THEME PANEL -> ADS – there is the inculded code:

<div class=”td-all-devices”></div>

The HEADER AD looks as follow:

<div class=”td-all-devices”></div>

So – what did I wrong?

j0suedaniel
Participant
#0

Is there a way to create a new Ad module or move this one to this location?

For me, is very useful since I don’t like using the header ad.

Thanks

Here is the example: http://prnt.sc/cevyt3

gili
Participant
#0

Hey,

For some reason i’m not managing to move the logo 40-50px to the left.

Where do i find it via CSS?

I tried changing .header-logo-wrap img in the CSS file, but nothing happened.

https://postimg.org/image/rbljlgemp/

site URL – http://www.israsport.co.il

Thanks

Andrei L.
tagDiv Member

Hi

Try to replace the previews code whith this one, it should target only the post’s title:

@media(max-width: 768px){
.single header .entry-title {
font-size: 20px!important;
}
}

Thanks!

fatih-2
tagDiv Member

Hi Andrei

Thanks, I’ll follow that topic for category header banners.

But I meant is I want to display horizontal banner between the news grid and the posts in a specific category.

Andrei L.
tagDiv Member

Hi

You can use is_category() function within a condition and pass category name as argument for indicated function. For more details please check this link where I’ve offered a similar solution: https://forum.tagdiv.com/topic/different-header-ads-according-to-category/

Thanks!

David
tagDiv Member

Hi Alin,

Thanks for your reply, I was so fixed to use the “header ad spot” that I didn’t think of an custom ad.
How can I make the new ad centered? I tried something like:
`.td-a-rec-id-custom_ad_7 > div {
text-align: center;
display: table;
margin-left: auto;
margin-right: auto;
position: relative;
}
to style.css around line 24200 but it seems to be not working.
Best, Loano

Peter Ngo
Participant
#0

Hey guys,

Can’t find answer to this anywhere so i will try my luck here.

I just set up everything today and noticed that when i use another browser to access my website, sometime it shows mobile theme on my desktop access. It doesn’t always happen, but quite often.

It works fine for my homepage, but for my post it happens a lot and quite often.

I have tried turning off set header expiry on my w3tc but it doesn’t seem to work. Is there anyway to fix this?

Alin [tagDiv]
tagDiv Staff

Hi,

You can use do_shortcode function and place a custom ad bellow the menu in header style 3 template file – http://screencast.com/t/O9jUnYRO

<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>

And control the ad visibility from Theme Panel > Ads. Disable header ad for phone devices and the custom ad for the other devices – http://screencast.com/t/JMLmIWxTyJRhttp://screencast.com/t/CvWqdTeMuFQf Or use the specific div containers for non-adsense code – https://forum.tagdiv.com/using-other-ads-non-adsense-ads/

Thanks!

gili
tagDiv Member

Should the code under get_header(); ?

Right now the ad is loading beofre the page. Also not a good thing for me.

Thanks

mrx
Participant
#0

Hi, dear friends!

Please explain me how can I increase the sizes of main menu and logo. I mean height.
I use this code

.td-header-style-7 .td-header-menu-wrap-full, .td-header-style-7 .td-header-menu-wrap {
height: 48px !important;
}
.td-header-style-7 .td-header-sp-logo {
height: 48px;
}
.td-header-style-7 .td-header-sp-logo a {
line-height: 48px;
}
.td-header-style-7 .td-header-sp-logo img {
max-height: 48px;
line-height: 48px;
}
.td-header-style-7 .sf-menu > li > a {
line-height: 48px;
}
.td-header-style-7 .sf-menu {
margin-top: 0;
}
.td-header-style-7 #td-top-search {
bottom: auto;
top:0;
}

What parameters should I change?

Current:

current

Wish:

wish

So it would be great to have bigger area with logo adjusted left and main menu centered relative logo.

David
Participant
#0

Hi, since we changed our website to header style 3, our ads on mobile show up on a different position. The ad is now above the logo, before it was below. Screenshot here: https://www.dropbox.com/s/wo7ori90yr5rgtb/Logo%20over%20mobile.JPG?dl=0
How can we change the position back to below the logo while keeping header style 3?

Catalin
tagDiv Staff

Hello tcmc1313,

Unfortunately, you will need more additional customizations using CSS code in order to achieve as you wish that involves time-consuming and custom work and we cannot provide this type of services at the moment, sorry! Please try to change another header style which satisfies your expectations or if you want to change it and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you!

Thanks for your understanding!

Andrei L.
tagDiv Member

Hi

No because each container have its own style and basically there are two links one above the other.
You can reduce the margins above and below the logo only if you delete ad’s container which is in the right: http://screencast.com/t/y932Ovyg4tye Try this css in theme panel > custom code > custom css: http://screencast.com/t/A4fDmaJc

.td-header-sp-rec {
display: none!important;
}
.td-header-sp-logo a {
height: 80px;
}
.td-header-sp-logo img{
margin-top: 0;
margin-bottom: 0;
}

Thanks!

Bogdan B.
tagDiv Staff

Hi,

Please use this code:

.sf-menu ul .td-menu-item > a:hover, .sf-menu ul .sfHover > a, .sf-menu ul .current-menu-ancestor > a, .sf-menu ul .current-category-ancestor > a, .sf-menu ul .current-menu-item > a, .sf-menu > .current-menu-item > a:after, .sf-menu > .current-menu-ancestor > a:after, .sf-menu > .current-category-ancestor > a:after, .sf-menu > li:hover > a:after, .sf-menu > .sfHover > a:after, .td_block_mega_menu .td-next-prev-wrap a:hover, .td-mega-span .td-post-category:hover, .td-header-wrap .black-menu .sf-menu > li > a:hover, .td-header-wrap .black-menu .sf-menu > .current-menu-ancestor > a, .td-header-wrap .black-menu .sf-menu > .sfHover > a, .header-search-wrap .td-drop-down-search:after, .header-search-wrap .td-drop-down-search .btn:hover, .td-header-wrap .black-menu .sf-menu > .current-menu-item > a, .td-header-wrap .black-menu .sf-menu > .current-menu-ancestor > a, .td-header-wrap .black-menu .sf-menu > .current-category-ancestor > a{
color:white!important;
}

Thank you!

Bogdan B.
tagDiv Staff

Hello,

It seems this header style has it;s own css so you can change it with this custom code:

.td-what .td-header-style-6 .black-menu .sf-menu > li > a:hover, .td-what .td-header-style-6 .black-menu .sf-menu > .sfHover > a, .td-what .td-header-style-6 .black-menu .sf-menu > .current-menu-item > a, .td-what .td-header-style-6 .black-menu .sf-menu > .current-menu-ancestor > a, .td-what .td-header-style-6 .black-menu .sf-menu > .current-category-ancestor > a{
background-color: transparent;
color: #ff530d!important;
}

You can add the code in the theme panel->custom css box
Alternatiovely you can change the code directly in the demo style.css file like so: http://screencast.com/t/2tHrN70RP

Thank you!

tcmc1313
Participant
#0

I want to move the top header ad below the logo on tablet devices. How do I do that?

http://screencast.com/t/uGwvmcIQ

Dmitry_Lupich
Participant
#0

Hello!

How can I add my choosen tags to all pages in the top of my site? Here how it should be http://prnt.sc/cekew5, but not only on main homepage, but on all pages. Without usind top header adv block (Theme Newsmag) Thank You!

veet1975
tagDiv Member

Hi,
i need your help.
1. I must add ADS to “search results page”.
see picture:http://www.screencast.com/t/AmtIh2M25

2.Advertising on posts pages much smaller:http://www.screencast.com/t/sos5dXud90fd

It must be like in header: http://www.screencast.com/t/AupnhVUPfT

How do i fix it?

Best Regards’
Veet

simchris
tagDiv Member

You can add CSS to either your style.css file in your theme; or in the custom code panel in the theme panel. Note the option to add CSS to your header in the “custom code” panel in the theme.

Also note, I’ve also had to add some margin to the tags and category “pills” so that “tap targets are not too close to one another.”

PhilCreighton
tagDiv Member

Thank you for your help Catalin. I’m afraid that doesn’t work for me.
Also, it’s all headers in the sidebar that are affected.
Thank you again
Best wishes
Phil

Andrei L.
tagDiv Member

HI

To achieve the desired result you will need some customizations in theme’s core files. Please check this link for more details in this regard: https://forum.tagdiv.com/topic/different-header-ads-according-to-category/

Thanks!

Viewing 25 results - 23,151 through 23,175 (of 29,850 total)