[Resolved] Hook after Header centering problem

Home Forums Support [Resolved] Hook after Header centering problem

Home Forums Support Hook after Header centering problem

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #78260
    Daniel Stuhr

    I’m trying to add Google adsense code for a centered banner ad after the header. When I add the code thru the Hook add-on it centers all post and widget titles also, not just the add. Is there something I can do? uneditedpolitics.com

    #78419
    Tom
    Lead Developer
    Lead Developer

    Try this in the hook:

    <div style="text-align: center">
    GOOGLE CODE IN HERE
    </div>
    #79253
    Daniel Stuhr

    Thanks, that worked, but it screwed up the mobile version so I went back to the way it was before.

    #79288
    Tom
    Lead Developer
    Lead Developer

    Interesting – wonder why that would happen.

    Let me know if you need more help 🙂

    #90227
    Maria Iolanda Tavares

    Good morning

    I need help. I am not able to insert the google adsense ads on my blog. How to do?

    #90330
    Tom
    Lead Developer
    Lead Developer

    Depends on where you want to add them.

    You can use our Hooks add-on to place them throughout your site.

    You can also place them directly into widgets or your content.

    If that doesn’t do it, you can always try a plugin: https://wordpress.org/plugins/ad-inserter/

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.