Title: Ads
Last modified: August 21, 2016

---

# Ads

 *  Resolved [LuisCo](https://wordpress.org/support/users/luisco/)
 * (@luisco)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/ads-11/)
 * Hi,
    Thanks for this powerfull theme. How and where put ads in the header, for
   normal site and for mobile site ?

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Alexander Agnarson](https://wordpress.org/support/users/alxmedia/)
 * (@alxmedia)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/ads-11/#post-4339402)
 * There is no special ads feature in the theme currently for the header, other 
   than 220px/300px sidebar options.
 * So it would need to be custom built for now.
 *  Thread Starter [LuisCo](https://wordpress.org/support/users/luisco/)
 * (@luisco)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/ads-11/#post-4339407)
 * I put the ads code in the header, but it is too large for mobile.
    Where put 
   a test condition “if…mobile” ?
 *  [Alexander Agnarson](https://wordpress.org/support/users/alxmedia/)
 * (@alxmedia)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/ads-11/#post-4339412)
 * Let’s say you add three different ads areas in header.php. One for mobile, which
   is hidden on desktop, and one for desktop, which is hidden for mobile. And then
   one for tablet too, just as reference.
 *     ```
       <div class="ads-header-desktop">My ads here</div>
       <div class="ads-header-tablet">My tablet ads here</div>
       <div class="ads-header-mobile">My mobile ads here</div>
       ```
   
 * Then you would need CSS mediaqueries to hide/display, like this:
 *     ```
       .ads-header-desktop { my styling here }
       .ads-header-tablet { my styling here }
       .ads-header-mobile { my styling here }
   
       /* hide or display */
       .ads-header-desktop { display: block; }
       .ads-header-tablet,
       .ads-header-mobile { display: none; }
   
       @media only screen and (min-width: 720px) and (max-width: 800px) {
       .ads-header-tablet { display: block; }
       .ads-header-desktop,
       .ads-header-mobile { display: none; }
       }
   
       @media only screen and (max-width: 719px) {
       .ads-header-mobile { display: block; }
       .ads-header-desktop,
       .ads-header-tablet { display: none; }
       }
       ```
   
 *  [Alexander Agnarson](https://wordpress.org/support/users/alxmedia/)
 * (@alxmedia)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/ads-11/#post-4339467)
 * I’m marking this as resolved for now as it’s as far as I can help you with a 
   feature that does not exist in the theme.
 *  [myhero](https://wordpress.org/support/users/myhero/)
 * (@myhero)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/ads-11/#post-4339660)
 * Hi Alex,
 * Would you consider adding this as a feature to the theme?
 *  [aeroomkar](https://wordpress.org/support/users/aeroomkar/)
 * (@aeroomkar)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/ads-11/#post-4339662)
 * Thank you Alex,
 *  [elon91](https://wordpress.org/support/users/elon91/)
 * (@elon91)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/ads-11/#post-4339687)
 * if u can help
    i did an dynamic sidebar… and then put it on header php as u told
   in other guide… now i dont know where to put the css and what i need to put here?{
   my styling here }
 * and the div i need to put on html text on the widget?
    plz help i really need
   this u answered on my post to serach in the other post so this is really helpfull
   but i still need your help . many thanks!
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [12 years, 2 months ago](https://wordpress.org/support/topic/ads-11/#post-4339688)
 * You can create a new thread here: [http://wordpress.org/support/theme/hueman#postform](http://wordpress.org/support/theme/hueman#postform)
 *  [elon91](https://wordpress.org/support/users/elon91/)
 * (@elon91)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/ads-11/#post-4339689)
 * Andrew Nevins
    when i created he sent me to search for this post so he actually
   can help me here i know how to open post… but thanks
 * i really need your help i have an adsense in the top of the website but most 
   of my traffic 1000 a day from mobile… so its just not fitting right :/

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Ads’ 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/)

 * 9 replies
 * 6 participants
 * Last reply from: [elon91](https://wordpress.org/support/users/elon91/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/ads-11/#post-4339689)
 * Status: resolved