Home>Support>Vantage theme: center image logo

Vantage theme: center image logo

By webblish, 8 years ago. Last reply by webblish, 8 years ago.
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, how do I center the image logo? The center option in the customizer only works for the site title as text.

Here’s my site: https://spijkerbroeken.net/

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

  1. 8 years, 3 months ago Alex S
    Hi, I Work Here

    Hi Webblish

    You can fix this with some custom CSS. If you navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Just add the following code.

    #masthead.site-header .hgroup {
    	text-align: center;
    }
    

    How does that look?

    You might also need to install the SiteOrigin CSS Editor.

  2. 8 years, 3 months ago webblish

    That looks really fine, many thanks!

    Since I also needed to make the (large) logo responsive, I added this code tot the custom CSS as well:

    @media (max-width: 600px) {
    .hgroup img {width: 100%; height: auto;
    }
      #masthead .hgroup { padding-top: 18px !important; padding-bottom: 0 !important;margin-bottom:-10px}
    }

    (The last part was to decrease the vertical padding (of 25px) to an acceptable size)

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