Support » Fixing WordPress » How to center my google ad sense in WordPress

  • Resolved journalismhub

    (@journalismhub)


    Dear all,

    I am trying to center my google ad on my blog but it never worked (I am referring to the header). I tried several things following previous instructions posted but still nothing.

    The blog address is: http://www.journalismhub.com

    And FYI am not using any plugin – just having the ads using text on side-bar; in particular using it with banner sidebar for the header ad.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Josh

    (@josh401)

    Moderator and Editor Customizer

    Add this to your custom css:

    #banner-widget-area {
        float: none;
        margin-left: 100px;
    }

    Hey Josh – thanks for your reply.
    Just for clarification: I added it to style.css AND it worked.

    Thanks Josh.

    Josh

    (@josh401)

    Moderator and Editor Customizer

    No worries. Remember, if you are not using a child theme this modification will be lost when you upgrade your theme… and you’ll have to re-insert it again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to center my google ad sense in WordPress’ is closed to new replies.