Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #150005

    Erin M
    Participant

    I would like to reduce the side padding of my Nav Bar, so I can fit one more item.

    #150435

    Zeshan
    Member

    Hi Erin,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL as stated on the forum entrance page. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you.

    Meanwhile, please try adding following code under Custom > CSS in the Customizer:

    .x-navbar .x-container-fluid.max {
       max-width: 1500px;
    }
    

    Adjust 1500px to increase/decrease the width of the navbar container.

    Hope this helps. 🙂

    Thank you.

    #150647

    Erin M
    Participant

    Thank you for your help, I am developing the site locally until it is further along so I don’t have url to show you yet. I tried the CSS code above, it doesn’t address the issue I want to target. What I am trying to do is the container for the Nav Bar is padded maybe 45 on the left and the right so the Nav Bar entries line up with the content below. I am hoping to decrease the left and right inset so I can fit one more Nav Bar item.

    Again thank you for your help.

    #151025

    Christopher
    Moderator

    Hi there,

    Try this CSS code:

    .x-navbar .x-container-fluid.max.width {
    width: 96%;
    max-width: 1500px;
    }

    Hope it helps.

    #151042

    Erin M
    Participant

    Thank you very much! That did exactly what I needed!

    #151328

    Paul R
    Moderator

    You’re welcome Erin. 🙂