[Resolved] Distribute/Spread Navigation menu items hozitonaly

Home Forums Support [Resolved] Distribute/Spread Navigation menu items hozitonaly

Home Forums Support Distribute/Spread Navigation menu items hozitonaly

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #125020
    Cyril

    Hi,

    First, I purchased generatepress with the add-ons 1 week ago and I love it ! Excellent work !

    I have a question. I would like to have my menu using all the space of the navigation space, not align center but the menu items spread horizontally from the left to the right.

    How can I do that by CSS or plugin ?

    I attached a picture to be more clear :

    Example image

    #125053
    bdbrown

    Hi Cyril. You could try setting the menu item spacing using a percentage value:

    .main-nav li {
      padding: 0 1.5%
    }
    

    Adjust it to fit in the desktop view and it should scale until the menu collapses for mobile.

    Adding CSS: https://generatepress.com/knowledgebase/adding-css/

    #125059
    Tom
    Lead Developer
    Lead Developer

    Good idea, bdbrown! Interested to see if that does the trick 🙂

    Thanks for your purchase, Cyril! Glad you’re enjoying GP!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.