Home>Support>Vantage Premium – Horizontal Scrollbar

Vantage Premium – Horizontal Scrollbar

By kl13, 8 years ago. Last reply by Andrew Misplon, 8 years ago.

I’m using the boxed view at 1080px, with images of 1080px width for header and footer, but a horizontal scrollbar has appeared. I read one other post here on the forum and tried adding this code in Custom CSS to resize box to smaller still did not eliminate the scrollbar.

/* Vantage Boxed Layout Site Width */

body.responsive #page-wrapper {
max-width: 960px !important;
}

I’ve also changed various padding settings, but am still not getting results.
Thanks for a great theme!

URL: http://brightcreationsart.com/new/

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, 11 months ago Andrew Misplon
    Hi, I Work Here

    Hi Kl13

    The scroll bar is caused by the following rule in Custom CSS;

    
    .site-title {
        position: relative;
        top: 5px;
        left: 300px;
    }
    

    Specifically the left: 300px; declaration. Try removing it and go to Appearance > Customize > General to center the site title instead.

    Not related but in Custom CSS you have:

    /*Navigation bar width padding*/
    .main-navigation {
    margin: 20 !important;
    }
    

    Margin can’t be unitless so you can remove that entire rule, it’s not doing anything now.

    Hope that helps :)

  2. 8 years, 11 months ago kl13

    Thanks so much Andrew – removing that site-title code eliminated the horizontal scrollbar.

    The reason I added that code initially was because checking “center logo in Appearance > Customize > Theme Design>General didn’t work for me. Checked or unchecked, the title is left aligned. I’ve cleared the cache. Do you know how else I can center the title?

    Thanks again!

  3. 8 years, 11 months ago Andrew Misplon
    Hi, I Work Here

    Sorry to hear that Customizer setting isn’t working. Let’s try the following at Appearance > Custom CSS to hotfix:

    /* Site Title */
    
    header#masthead .hgroup h1 {
        text-align: center;
    }
    
  4. 8 years, 11 months ago kl13

    The code worked perfectly – Thanks so much, Andrew!

  5. 8 years, 11 months ago Andrew Misplon
    Hi, I Work Here

    Super :) Glad that did the trick.

    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