• Resolved eemskrant

    (@eemskrant)


    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]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support lizkarkoski

    (@lizkarkoski)

    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.

    Thread Starter eemskrant

    (@eemskrant)

    Hi,

    Not on my side it issnt

    See the bottom wp ad

    • This reply was modified 5 years, 11 months ago by eemskrant.
    Plugin Contributor James Huff

    (@macmanx)

    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.

    Thread Starter eemskrant

    (@eemskrant)

    Hi,

    If i set them higher in the widget list to the top its still off center with te rest

    Plugin Support lizkarkoski

    (@lizkarkoski)

    This is the ad I see which is centered. What browser are you using?

    Thread Starter eemskrant

    (@eemskrant)

    Its not the bottom ads bud the ad in the sidebar last spot Jetpack ad widget

    Plugin Support lizkarkoski

    (@lizkarkoski)

    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?

    Thread Starter eemskrant

    (@eemskrant)

    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 {

    Plugin Contributor James Huff

    (@macmanx)

    Ah ok, that makes a lot more sense, you’re specifically centering the other ads, but not ours. ??

    Try this:

    .wpa {
        float: left;
    }
    Thread Starter eemskrant

    (@eemskrant)

    Hi,

    did try adding the code to the .css option in the theme bud it did notting. Any other fixes/code?

    Plugin Contributor James Huff

    (@macmanx)

    It’s definitely working in my tests, try:

    .wpa {
        float: left !important;
    }
    Thread Starter eemskrant

    (@eemskrant)

    Hi,

    Ik moved some code around and its working thanks now it looks good

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Center widget ads in sidebar’ is closed to new replies.