Ads in header

Posted in: Newsmag
Post count: 12

Hi Guys,

Great theme. The best out there for sure.

I have an ad rotate advert in the header as default and this works well but I was wondering if there is a way I can disable/hide this for one page/post?

Post count: 6535

Hi

You can hide the header ad from a specific page/post inserting a condition in ads.php like here: http://screencast.com/t/HCDaL1qLN To get the page/post id follow this link: http://screencast.com/t/ZcvlAWVjd3e

if (!is_single(75) and !is_page(41))

This code will hide the header ad from the post whit id 75 and the page with id 41, you just replace those numbers with yours id’s.
Let me know how it goes.

Thanks!

Post count: 12

Thanks Andrei.

The theme is perfect and so is the support!

Post count: 12

Hiya,

I found a small bug. I have chosen a different header and notice that only the bottom of the logo is clickable. You can see this at shipinsight.com.

Post count: 6535

Hi

I’ve added this issue on our list and we will try to fix in the next theme update, meanwhile you can try this custom css in theme panel > custom css:

.td-header-style-8 .td-header-sp-logo img, .td-header-style-8 .td-header-sp-logo a {
z-index: 1;
}
.td-header-style-8 .td-header-top-menu-full {
z-index: 0 !important;
}

Let me know how it goes.

Thanks!

Post count: 12

Hi,

It did solve the problem with the logo however it meant that all drop down menus from the top header were hidden behind the main nav bar so I hav to delete the custom css.

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newsmag’ is closed to new topics and replies.