Home>Support>How to enlarge and center in header

How to enlarge and center in header

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi, I’ve tried putting css code and php code to center and enlarge my logo but none of them work. My site is www.theteachermarket.com

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Hi Terry

    Thanks for the wait.

    These are features in the Customizer in Vantage Premium. If you’d like to stick with Vantage Free, please, try the following:

    /* Center Logo */
    #masthead .hgroup .logo, #masthead .hgroup .site-logo-link {
        float: none;
    }
    #masthead .hgroup .logo {
        text-align: center;
    }
    

    To change header padding, try the following, adjust as needed:

    /* Header Padding */
    #masthead .hgroup {
        padding-top: 45px;
        padding-bottom: 45px;
    }
    

    In the default masthead, Vantage doesn’t control the logo size, if you upload a larger logo it should display at a larger size.

    Hope this helps.

  2. 9 years, 2 months ago Terry Nuss

    Hi Andrew,

    Just to clarify, I should be putting this in the css.style sheet under my child theme right? That’s what I’ve done and nothing changes.

  3. 9 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Sure, style.css of your child theme or a Custom CSS plugin like SiteOrigin CSS. If you send a link to your site we can take a look.

  4. 9 years, 2 months ago Terry Nuss

    Yeah definitely, it’s http://www.theteachermarket.com

  5. 9 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Thanks. Try adding the following:

    #masthead .hgroup .logo img, #masthead .hgroup .site-logo-link img {
        display: block;
        margin: 0 auto;
    }
    
  6. 9 years, 2 months ago Terry Nuss

    Still doesn’t work.

  7. 9 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Looks centred on my side now. Can you confirm the issue is persisting for you?

  8. 9 years, 2 months ago Terry Nuss

    Well, it suddenly works, thanks for your help! Must not have kicked in right away.

  9. 9 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Super :) Glad to hear it’s working.

    All the best.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More