Sticky ads are available in Ad Inserter Pro:
https://adinserter.pro/documentation/alignments-and-styles#sticky-ads
However, you can use custom CSS code to create sticky top ad, for example:
position: fixed; z-index: 9995; top: 0px; text-align: center; left: 50%; transform: translate(-50%);
If your code is responsive you need to define also width and height.
Thread Starter
Filip
(@altehausmittel)
Hey SpaceTime
Thanks I will definitely consider buying your plugin cus so far i have been very satisfied with it.
I tried adding the custom css but it looks like this https://prnt.sc/lvlxg2
Any other addition to the code maybe I can try?
Thanks a lot
Filip
You can change/add any CSS parameter according to your needs. This is the code for top centered sticky ad.
Thread Starter
Filip
(@altehausmittel)
Hey,
Yeah I see but it is overlapping with the menu.. do you thing there is something else that I cann add to the style that can push it up?
I really appreciate your help
Best
Filip
You can change top parameter to move sticky ad up or down.
You can also try to modify theme CSS to push the menu down.
Thread Starter
Filip
(@altehausmittel)
Ok I did but it looks really small on mobile devices do i need to change the media queries too?
Yes, you should use different size for mobile devices.