Add row to header

Posted in: Newspaper
Post count: 35

Hi!
https://holographica.space/ – I made a row under header by editing the page with TD composer. I copied the code and entered it as header ad with header style 6, but then there’s red background UNDER the row. Is it possible to add the row to header without adding background below it?

Post count: 20688

Hi,

I don’t think I fully understand what you mean. I see the header has a red background, and the row has a blue background. There is no red background underneath the row from what I can tell
https://www.screencast.com/t/NGwlIZbL
Maybe I am misunderstanding this.

Thanks

Post count: 35

Yes, now it’s made with composer as a separate row. If I copy the code of the row and insert it as a header ad, the row works fine, but there’s red background below.

Post count: 20688

Hi,

Maybe that is happening because there is a red background color set here
https://www.screencast.com/t/KGxPI1dnQNL
That will apply to the banner ad, and probably that is why the red background appears.

Thanks

Post count: 35

This helped! Thanks!
But now there’s a margin between the header and the row – is it possible to remove it? https://holographica.space/

Post count: 20688

Hi,

Try a code like this that will remove the margin
https://www.screencast.com/t/farfFoWZS

@media (min-width: 1019px) {
.td-header-style-5 .td-a-rec-id-header > div {
margin: 0 auto!important;
}}

Thanks

Post count: 35

THanks a lot!
Is there a way to find the right classes, so I don’t have to answer on the forum for each CSS edit?

Post count: 35

And another question – is it possible to disable the ad on certain pages?

Post count: 20688

Hi,

You can use the browser inspector to identify the elements used on the page and their classes. This is a very powerful tool for website inspection and also live customization. This is an useful guide about it
https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
For example if you would like to hide the ad on a particular post page, you could do it like this (using the unique post ID, or page ID)
https://www.screencast.com/t/EDXdjCIwA6Iz

Thanks

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