• jshanker

    (@jshanker)


    https://mountsforsolar.com/

    I renamed some pages and now my nav bar has a bit of extra space on the right. I want to remove a page but when I do the nav bar stays the same length leaving way too much extra space. How can I make the nav bar auto resize to fit the text? Or, how would I change the length of the nav bar manually?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Will Schmierer

    (@officialwill)

    I think what you might want to do here is if you remove an item, you’ll need to adjust the hard width set here to be smaller once the item is removed in you css.

    .header_menu {
        position: relative;
        width: 830px;/*Change This Width once Item is removed to a smaller number*/
        margin: 0 auto 0 auto;
        z-index: 999;
        padding: 0;
        -webkit-box-shadow: 0 10px 10px -8px #222;
        -moz-box-shadow: 0 10px 10px -8px #222;
        box-shadow: 0 10px 10px -8px #222;
        background-color: #599c01;
    }

    Hope that helps get you started.

    Thread Starter jshanker

    (@jshanker)

    Will,

    I found this incredibly helpful. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Resize my Nav Bar’ is closed to new replies.