Center widget ads in sidebar
-
How do i aline the widget ads with te rest off my ads on the sidebar? wat css code do i use?
See bottom ad on frontpage
The page I need help with: [log in to see the link]
-
Howdy –
The ad spot at the very bottom of the page is center aligned. Do you still need help? If so, please take a screen shot of what you are seeing so I can make a comparison. Thanks.
That’s rather odd, does it work properly if it’s the only ad in your site’s sidebar? I’m not quite sure where the misalignment is coming from.
Hi,
If i set them higher in the widget list to the top its still off center with te rest
This is the ad I see which is centered. What browser are you using?
Its not the bottom ads bud the ad in the sidebar last spot Jetpack ad widget
Ok, I see what you’re reporting now. I’ve grabbed a screen shot.
Do you have the same issue with Ads when using a default theme, like twenty nineteen? And what happens if you turn off all of the other plugins, only leaving Jetpack enabled?
Hi,
I can center the adblocks with .css code bud i dont know the code useed for Jetpack.
For the google block im using
.td-g-rec-id-custom_ad_4 { margin-left: 0; }
.ajdg_grpwidgets,
.td-a-rec-id-sidebar,
.td-g-rec-id-custom_ad_4 .adsbygoogle {Ah ok, that makes a lot more sense, you’re specifically centering the other ads, but not ours. 🙂
Try this:
.wpa { float: left; }Hi,
did try adding the code to the .css option in the theme bud it did notting. Any other fixes/code?
It’s definitely working in my tests, try:
.wpa { float: left !important; }Hi,
Ik moved some code around and its working thanks now it looks good
The topic ‘Center widget ads in sidebar’ is closed to new replies.