Support » Fixing WordPress » How to center my header

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

    (@anevins)

    Forum moderator

    What code have you tried so far?
    This is a guide to centring things in CSS
    http://www.w3.org/Style/Examples/007/center.en.html

    so so many different ones i dont even know, im not really used to coding or css. which one of those would i need? and would i need to plug in anything specific?

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Does your theme come with a plugin named, “Custom CSS”, “Custom Styles” or “Jetpack”?

    i’ve been adding code to something called custom css

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Okay, let’s use that.
    So, within the Custom CSS section of the dashboard, enter this;

    #header.col-full {
     width: auto;
    }
    
    #logo,
    #navigation {
     margin: 0 auto;
     float: none;
    }
    
    #logo {
     width: 1064px;
    }
    
    #navigation {
     display: table;
    }

    I don’t think that’s how you’re supposed to do it, as your page elements have classes named “col-left” and “col-right”, but I don’t know that theme. There could be a way to assign a class “col-center” instead.

    looks like it worked!!!! yay thank you!!!!!!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to center my header’ is closed to new replies.