Support » Themes and Templates » How to Center Header – Please help!

  • The header and tagline on my site are skewed to the left instead of centered. Could someone let me know how to change the code so that these are centered? I would appreciate your help so much!! The site is gothamista.com . The theme is Glitter and Lace by Genesis.

    [css code moderated – this is accessible from the link to your site – for general posting of code see http://codex.wordpress.org/Forum_Welcome#Posting_Code ]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Could you give us a link to your website or Pastebin.com of your HTML for a page with the problem?

    Also please wrap your code in the (code) button above the forum post textbox.

    In this section:

    #title-area {
    float: left;
    overflow: hidden;
    padding: 34px 0 0;
    width: 500px;
    }

    Remove float:left; and add in margin:auto;

    Hi Andrew,

    Is this what you mean? I am new to wordpress and the comment board! Thanks so much!!

    I cant get the hyperlink to work, but the site is: gothamista.com

    [css code moderated – this is easily accessible from the link to your site]

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    The CSS Cassihl recommended is correct.

    You need to use this CSS, but before you do, ensure you have either a;
    ☛ Child Theme – http://codex.wordpress.org/Child_Themes
    ☛ Custom Style plugin – http://wordpress.org/extend/plugins/custom-style/

    I think it worked! The header still shows off center when I look at my site from Dashboard but when I open it through Safari its now centered. Thanks so much!

    Another question–my theme only comes with 1 sidebar (its a Child Genesis theme) but I want two sidebars so that I can have Sidebar-Content-Sidebar. Is there any way to add another sidebar?

    gothamista.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to Center Header – Please help!’ is closed to new replies.