Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #19552
    Michaela
    Participant

    Hi,
    I would like to use Google Adsense ads on my website, in the right sidebar. I already found your widget for ads, and saw that I can insert the code there. But my question is now: does the sidebar automatically adjust to the size of the ad? I would like to use 160×600 px ads, and would not like to have a lot of space on the left and right of the ad, so that the content has more space.

    Thanks for your help!

    #19559
    Sakin
    Keymaster

    @Micha: It’s a responsive design theme. So, do adjust the width we need to consider it. Can you try adding in the following CSS in “Appearance => Theme Options => Custom CSS” box.

    @media screen and (min-width: 961px) {
    #primary { width: 710px; }
    #secondary { width: 160px; }
    }
    @media screen and (min-width: 1190px) {
    #primary { width: 830px; }
    }
    @media screen and (max-width: 1060px) {
    #primary { width: 660px; }
    }
    #90508
    Leonardo Martinez
    Participant

    Hi!
    I’d like to use google AdSense ads on my sidebar, but I’ve been looking for how to insert the code (I want to know where to insert the code, to be more specific) and didn’t find anything explaining how I can do it.

    #90516
    Sakin
    Keymaster

    @leonardo-martinez: If you are using Free version, then you need to search for advertisement plugin and add it. But if you are pro version then you will get Advertisement widget and you can add that in your sidebar.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Advertisement in sidebar’ is closed to new replies.