Title: header ads inactive
Last modified: August 31, 2016

---

# header ads inactive

 *  [carioti](https://wordpress.org/support/users/carioti/)
 * (@carioti)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/header-ads-inactive/)
 * Hi all,
    my site is [http://www.80s.it](http://www.80s.it) and i’m using wp 4.5
 * Everything works fine after the update to the new Hueman but…the header widget
   is inactive.
    I try to put in it the search and the text widget (with the google
   adsense code) but it doesn’t work.
 * The “display a widget in your header” voice in the Header>header advertisement
   widget is selected.
    What’s wrong?
 * Thanks in advance,
    Daniele

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/header-ads-inactive/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/header-ads-inactive/page/2/?output_format=md)

 *  [Denzel Chia](https://wordpress.org/support/users/denzel_chia/)
 * (@denzel_chia)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/header-ads-inactive/#post-7279482)
 * Hi,
 * Go to Appearance -> Customize -> Header -> Header Advertisement Widget
    And check
   the setting to enable.
 * Go to Appearance -> Customize -> Dynamic Sidebars and Widgets -> Header ads to
   deploy your widget
 * If you are using a child theme with modified header.php, you will need to copy
   over the new header.php and redo your modifications.
 * Thank you.
 *  Thread Starter [carioti](https://wordpress.org/support/users/carioti/)
 * (@carioti)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/header-ads-inactive/#post-7279495)
 * Hi Denzel, thank you for your attention but..
    I already set it up the appearence’s
   header section as you pointed and deleted the header.php in my child theme but
   not only that ad-matter remains: now I can’t set the header image too.
 *  [msfndotorg](https://wordpress.org/support/users/msfndotorg/)
 * (@msfndotorg)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/header-ads-inactive/#post-7279504)
 * Try this I posted:
    [https://wordpress.org/support/topic/responsive-header-ads-doent-work?replies=13](https://wordpress.org/support/topic/responsive-header-ads-doent-work?replies=13)
 *  Thread Starter [carioti](https://wordpress.org/support/users/carioti/)
 * (@carioti)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/header-ads-inactive/#post-7279510)
 * Hi guys, thanks again.
 * I don’t know what it happened but without changing anything, now the ad section
   works. I just “play” inserting and deleting images on the header section and,
   I don’t know why, now the ads section is active.
 * But I still can’t see google’s ad displayed.
 * I will try putting that code in my style.css’ child theme (is it the same, msfndotorg?)
   and let you know the outcome.
 * Thank you again.
 *  Thread Starter [carioti](https://wordpress.org/support/users/carioti/)
 * (@carioti)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/header-ads-inactive/#post-7279515)
 * update, unfortunately negative.
 * this is my custom.css file
 *     ```
       /*
       @fromfull
       Add your custom styles in this file instead of style.css so it
       is easier to update the theme. Simply copy an existing style
       from style.css to this file, and modify it to your liking.
   
       When you update your theme, backup this file and re-add it after.
       */
   
       /* Global */
       .mystyle {}
   
       /* Tablet - 800px, 768px & 720px */
       @media only screen and (min-width: 720px) and (max-width: 800px) {
       	.mystyle {}
       }
   
       /* Mobile - 480px & 320px */
       @media only screen and (max-width: 719px) {
       	.mystyle {}
       }
   
       /* Mobile - 320px */
       @media only screen and (max-width: 479px) {
       	.mystyle {}
       }
   
       @media only screen and (max-width:1380px) {
           #header-ads {
               width: 800px;
               height: 90px;
           }
       }
       ```
   
 * but I can’t see the google-ad yet.
 * The weird thing is that if I put the same widget in the footer ads section, it
   works perfectly (as you can see, the google code in the widget is the same)
 * thanks again
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/header-ads-inactive/#post-7279537)
 * There is a text widget with the googleads script in your footer. There isn’t 
   anything in the header ads container:
 *     ```
       <div class="group pad">
           <h1 class="site-title"><a href="http://www.80s.it/" rel="home"><img src="http://www.80s.it/wp-content/uploads/2016/04/logo-2.png" alt="the 80s database"></a></h1>
   
               <div id="header-ads">
                    </div><!--/#header-ads-->
   
       </div>
       ```
   
 *  Thread Starter [carioti](https://wordpress.org/support/users/carioti/)
 * (@carioti)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/header-ads-inactive/#post-7279539)
 * there was not when you checked it out 😀
    check now please
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/header-ads-inactive/#post-7279547)
 * Can you leave a copy in the footer so we can see them both?
 *  [dkvadratu](https://wordpress.org/support/users/dkvadratu/)
 * (@dkvadratu)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/header-ads-inactive/#post-7279552)
 * I had issue with header ads widget. Problem was AdBlocker plugin in browser.
 * Issue fixed: in themes header.php file changed ONLY DIV element ID from header-
   ads to header-widget, because AdBlock reads ID’s and disables it.
 * Also changed #header-ads to #header-widget in style files(used Notepad++ to find):
   \
   assets\front\css\main-not-responsive.css \assets\front\css\main-not-responsive.
   min.css \assets\front\css\main.css \assets\front\css\main.min.css
 * Also I did the same with footer-ads.
 * Theme creators should avoid words like ‘AD’.
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/header-ads-inactive/#post-7279554)
 * If AdBlocker is the issue then you could look at some options in [this google search.](https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=wordpress+plugin+disable+ad+blocker)
 *  Thread Starter [carioti](https://wordpress.org/support/users/carioti/)
 * (@carioti)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/header-ads-inactive/#post-7279568)
 * I made it right now brbrown.
    Consider there are now three identical g-ads text
   widgets on the homepage (ads, primary sidebar & footer) but only last two work.
 * thank you again
 *  [msfndotorg](https://wordpress.org/support/users/msfndotorg/)
 * (@msfndotorg)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/header-ads-inactive/#post-7279570)
 * Something is definitely wrong with header style coding. Ads are not resizing 
   and don’t work as intended.
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/header-ads-inactive/#post-7279592)
 * Just a guess but it looks like the javascript in the header ads text widget isn’t
   running. Off the top of my head I don’t know why that would be. Can you post 
   the adsense code that you’re putting into the text widgets? I’d like to try in
   on a test site.
 *  Thread Starter [carioti](https://wordpress.org/support/users/carioti/)
 * (@carioti)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/header-ads-inactive/#post-7279598)
 *     ```
       <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
       <!-- Prima AD -->
       <ins class="adsbygoogle"
            style="display:block"
            data-ad-client="ca-pub-1340103107246741"
            data-ad-slot="9587152717"
            data-ad-format="auto"></ins>
       <script>
       (adsbygoogle = window.adsbygoogle || []).push({});
       </script>
       ```
   
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/header-ads-inactive/#post-7279639)
 * I was able to run the ads script in a footer widget but it doesn’t work in the
   header ads widget, as you’ve indicated. I also pasted the script directly into
   header.php and it runs there. So it’s something about the header ads widget. 
   I’ll enter a ticket for the developer and see if he can determine the issue.

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/header-ads-inactive/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/header-ads-inactive/page/2/?output_format=md)

The topic ‘header ads inactive’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

## Tags

 * [ads](https://wordpress.org/support/topic-tag/ads/)
 * [header](https://wordpress.org/support/topic-tag/header/)
 * [inactive](https://wordpress.org/support/topic-tag/inactive/)

 * 19 replies
 * 6 participants
 * Last reply from: [carioti](https://wordpress.org/support/users/carioti/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/header-ads-inactive/page/2/#post-7279682)
 * Status: not resolved