[Resolved] Ads Placement in Sidebar – Clear Empty Space

Home Forums Support [Resolved] Ads Placement in Sidebar – Clear Empty Space

Home Forums Support Ads Placement in Sidebar – Clear Empty Space

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1129012
    Sibi Paul

    Sir,

    Kindly Check my site, there you can see an ad placed at right side bar…

    Adsense script is showing after the layout.

    if I increase the sidebar width to 40 , then, its OK, but the content area width reduces very low…

    Here I attached an image, check it… there is an empty white space I marked with black circle,

    how to align my ads to that space… so it will fit in the exact available space….

    https://i.postimg.cc/DyT8Z29R/ads-placement.png

    #1129042
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    .inside-right-sidebar #custom_html-5,
    .inside-right-sidebar #custom_html-6 {
        padding: 0;
    }
    #1129100
    Sibi Paul

    can you please check my site again.

    the second ad unit at the sidebar shows same error…

    but the first one is now fixed.

    #1129108
    Leo
    Staff
    Customer Support

    Edited the CSS above:
    https://generatepress.com/forums/topic/ads-placement-in-sidebar-clear-empty-space/#post-1129042

    You’d need to keep expanding the CSS if you add more ads. You can find the ID by using browser inspector:
    https://www.screencast.com/t/oGf4MWBUlfS

    #1129120
    Sibi Paul

    that’s nice job…

    fixed,

    thank you.

    #1129129
    Leo
    Staff
    Customer Support

    No problem 🙂

    #1129137
    Sibi Paul

    check my side bar,

    first ad is a responsive display ad

    second one is 300 x 600 fixed display ad

    now, you can see a small layout error…

    i try to change the value 0.2 but that makes the ads out of the layout.

    #1129143
    Leo
    Staff
    Customer Support

    Unfortunately there isn’t anything the theme can do when the ad itself is fixed in size.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.