• Resolved ssneumann

    (@ssneumann)


    Does anyone know why my header ad won’t display when viewing on ipad or smaller? There’s lots of room for it… I did make some adjustments to CSS for positioning but removed that to see if made any difference and it didn’t.

    https://columbiavalley.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi ssneumann. It’s because the theme default is to hide the header ads on mobile screens below 1200px to make room for the site title/desc/logo. You can override that by adding this to your child theme css:

    @media only screen and (min-width: 900px) and (max-width: 1199px) {
        #header-ads { display: block !important; }
    }

    Change the min-width to whatever you need.

    Nice clean site you have there.

    Thread Starter ssneumann

    (@ssneumann)

    Ahhh, you mean that chunk of code that’s already in my CSS file that I look at 50 times a day and just need to change the width on? Doh! Thanks!

    And also thanks for the compliment on the clean site. Lots of work to do on it still but getting better every day.

    Finding Hueman to be a good base for a few of our sites, even if I have stripped it down quite a bit. Cheers!

    Glad to help. If you don’t need any further assistance here please mark the topic as Resolved. Thanks.

    Thread Starter ssneumann

    (@ssneumann)

    Thanks!

    Great site Neumann. Just felt like complementing.

    Thread Starter ssneumann

    (@ssneumann)

    Thanks @dcsreddy! It’s been fun. It’s almost like playing in the sandbox when I was a kid. Cheers!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Header ad not displaying on ipad’ is closed to new replies.