Support » Fixing WordPress » Header Plugin Alignment

  • Resolved sbt86



    First off, thanks for your time, secondly, I realize this topic has been posted numerous times, but nonetheless, I’m still having an alignment issue. I have a plugin/ad at the top of my page ( that’s currently aligned left and I’d like it centered but haven’t the slightest idea of how to make that happen.

    Thanks for you help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey sbt86,

    You need to add div tags around your ad code and then add margin:0 auto; to your css file.

    HTML Example

    <div id="header-ad">

    Then add the following to your css file

    #header-ad {
         margin:0 auto;

    That should fix it!

    Hey, thanks for the reply! Since the ad is generated via a plugin, am I making those changes within the css of the plugin? Or would I go to the css file of the theme and add the additional coding? Apologies if those are dumb questions, I’m way out of my element with this sort of thing.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Header Plugin Alignment’ is closed to new replies.