-
randika
Hi GeneratePress Support,
I’m having trouble with a sticky ad (class: ads-main-cont) overlapping the body content. Could you help me adjust the CSS so it doesn’t interfere with the layout?
Thanks!
Willya
-
Hi there,
I can’t see the advert overlapping the content ( I can see it behind ) – did you resolve the issue ?
-
randika
Hi David,
Actually, the advert is not fully overlapping the content, but can you see that the grey background of the advert container is overlapping the white background of the page body?
Is it possible to make it behind the white background?
-
Is it possible to make it behind the white background?
Not really.
You might want to make the content container full width so its background color can cover the sticky container’s grey background.
You can do so by creating a layout element. https://docs.generatepress.com/article/layout-element-overview/#content-1
-
randika
Thanks for your suggestion. That solved the issue.
-
You are welcome 🙂
- You must be logged in to reply to this topic.