How to change width of primary navigation?

Homepage Community Forums Epik Theme Support How to change width of primary navigation?

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15276
    Lonneke
    Customer

      Hi everybody,
      my website is coming together.
      Though I have some trouble making my primary navigation menu wider.
      New-Label

      I want all those words aligned center.
      Or 2 lines, if wider isn’t possible, but still aligned center.

      Thanks!

      #15295
      Jason M
      Customer

        You added this on line 2029 in your css –

        .nav-primary {
        max-width: 750px;
        }

        That’s where the width limit is coming from. Remove that altogether first.

        Then you’ll want to replace float: left; on line 2012 with display: inline-block; in order to center the entire nav –

        .genesis-nav-menu .menu-item {
        	display: inline-block;
        	/* float: left; */
        	list-style-type: none;
        	margin: 0;
        	padding: 0;
        	text-align: left;
        }
      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.