• Resolved Sankalan

    (@sankalan)


    Hello,

    My site runs the latest Hueman theme along with its child theme. I have enabled the header widget for showing responsive asynchronous ad from Google AdSense. However, the ad is not showing up on my website. I went and checked AdSense and the ad unit was showing the status as active.

    Why is the ad not showing up? It should show up globally on my website because the widget is intended for doing exactly that.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Sankalan

    (@sankalan)

    Okay, I found this piece of custom CSS code which shows the header ad:

    @media only screen and (max-width:3000px) {
    #header-widgets {
    width: 800px;
    height: 90px;
    }
    }

    BUT, since the header ad is a responsive ad unit, is should also show up in mobile devices.

    I am not good with code (call me dumb) but is that CSS code designed only to show ads when viewed on desktops? How do I make the header widget work even on mobile screens?

    Any help will be greatly appreciated.

    Hi Sankalan. You don’t need that code to display the header widget. The theme default is to display the widget in all viewport widths above 1200px. Below 1200px it is hidden to allow more room for the site title/logo/tagline. You can display the header widget in all viewports by using this custom CSS:

    #header-widgets {
        display: block !important;
    }
    Thread Starter Sankalan

    (@sankalan)

    Hi bdbrown,

    Thanks for your reply. I implemented the custom CSS but now no ads are showing up at all, not even on desktop!

    Help please.
    Regards

    If I use the link in your original post there is an ad in the subheader. However, that site isn’t using the Hueman theme. If you’re having problems with the Enspire theme you’d need to contact the developer on the theme web site:
    http://alxmedia.se/themes/enspire/

    If you’re not seeing the ad the other thing to check is if you have an ad blocker turned on. Adblock Plus will block the widget based on the widget name.

    Thread Starter Sankalan

    (@sankalan)

    Ya sorry about that. I removed hueman and installed Enspire. This theme seems to work correctly for me. So, sorry for bothering you. I forgot to update. I am so sorry.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Header Ad not showing in Heuman Theme’ is closed to new replies.