Archived topic
Showing items after sidebar
5 replies · Started by iamarghya on May 5, 2022
See on this page there are two ads after sidebars or I can say the two sides of the content area, can we too place ads of this type with generatepress?
Hi there,
It uses position:fixed; to position the ads, but when screen shrinks, the ads will be covered:
https://www.screencast.com/t/l9yuzPs1GC3W
If you don't mind it, it can be done in GP as well.
Ya or I can just do "display: none" in different screen sizes, but How to do it?
You can add the adds to a hook element: https://docs.generatepress.com/article/hooks-element-overview/
Choose generate_after_header as hook, choose location to where you want to display it.
Once it's done, we can take a look at it and help with CSS.
ok ok
Keep me updated :)