• Hi Ben,

    We use WordAds (via Jetpack) and we are noting the standard Medium Rectangle size (300×250) ad units in the left and right rails are getting cut off on the right side of the unit. Is there a tweak to the css (padding? size of the content wells?) that you can recommend?

    Thanks-Jason

    • This topic was modified 2 months, 1 week ago by jfoxev.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Hi Jason,

    Start by adding this CSS to the site:

    .wpa {
    overflow: visible;
    }

    Please copy and paste this into the Custom CSS section in the Customizer (Appearance > Customize), and it will take affect right away.

    Then, open the Customizer and navigate to the Layout > Site Width section. Change the value to 1400 and that should give the ads enough space to display fully.

    Thread Starter jfoxev

    (@jfoxev)

    Thanks Ben. That’s great. One related follow-up which may not be theme related but do you know if there is a way to suppress showing an ad, for example, positioned along the top of the site, on mobile?

    Theme Author Ben Sibley

    (@bensibley)

    If you can wrap the ad in custom html or add your own class to the containing div element, that will make it easy. For instance, you could add a class like desktop-header-ad and then hide it for mobile like this:

    @media all and (max-width: 899px) {

    .desktop-header-ad {
    display: none;
    }
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.