On this page you can find some solutions for common issues with the Sticky Ads add-on.
Sidebar Ads not visible / wrong position
Wrong element selector
If your Left or Right Sidebar ad does not show up (or shows up in the page footer) or is placed in a strange position, it might be because of a wrong element selector.
By default, Advanced Ads expects your main content to be wrapped within a container called “main” or similar. If your theme uses another container or this container is not in the center of the page you need to adjust the element selector.
In order to do that, go to the Placement page and select advanced options in the placement settings. Now, add the element selector into the appropriate field.
When using the select position button to get the correct wrapper from the frontend, make sure there are no individual identifiers in it.
Example of a selector with individual settings:
main#main > article#post-379
main#main > article
This fix is needed because the “#post-379” selector does only exist in posts with the ID 379. You will notice similar individual selectors by specific numbers or names that indicate that they might not match every page where you want to display the ad.
Size not detected
The positioning might not work if the ads that are loaded from an external domain don’t have sizes given in their code. In that case, you would need to set the size options and enable reserve ad space on the ad edit screen.
Fully responsive ads might not work in the sticky positions left or right of the content or window. There is no other solution than to give them a fixed size.
Ad is not fixed on Safari (OSX & iOS) and Chrome
If the ad is not fixed in Safari (OSX and iOS) or Chrome, please check, if one of the parent elements has one of the following css rules and remove, outcomment or override them.
-webkit-transition: all .4s ease-in-out; transition: all .4s ease-in-out; -webkit-transform: translateZ(0); -ms-transform: translateZ(0); transform: translateZ(0);
Ad is not attached to the main container
In order for the floating Sidebar placement to work, the container the ad is attached to must have these css settings:
position: relative; overflow: visible;
If the ad is below the container on small devices, then there is probably not enough space to attach the ad beside it. Use the Responsive Ads add-on to disable ads on small devices.