This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Menu changing position when scrolling

Resolved 5 replies technicalthemetheme-vantage
Started · Latest reply by Michael Chris Vincentz Larsen

Hi.
I’ve done alot of Custom CSS-ing to get my menu just right, but now, when I scroll down, then menu pops a bit to the left.
I’m postin screenshots and my Custom CSS-codes.

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

5
  1. Michael Chris Vincentz Larsen

    And now my Custom CSS

    /* Meta Slider Background Color */

    #main-slider {
    background: #fff;
    }
    .navbar-brand img {
    width: 1080px;
    }
    a.navbar-brand {
    height: 120;
    }
    #colophon {
    min-height: 200px;
    }
    #colophon {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    }
    .entry-content p {
    line-height: 300 px;
    }

    #main-slider {
    background: #DDDDDD;
    }
    .main-navigation {
    max-width: 1080px;
    margin: 0 auto;
    }

  2. Alex S Staff

    Hi Michael,

    Do you have a public URL where we can take a look at what’s going on? If you need to keep this URL private from other users, just select “Private Reply” on the bottom right of the comment box.

  3. Michael Chris Vincentz Larsen
  4. Alex S Staff

    Hi Michael,

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

    .main-navigation.sticky {
    	left: 0 !important;
    	right: 0;
    }

    You might also need to install the SiteOrigin CSS Editor.

  5. Michael Chris Vincentz Larsen

    Awesome. Thanks!

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.

Have a different question or issue?

Start New Thread