Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to make menu items fit in certain width (News PRO theme)
- This topic has 8 replies, 3 voices, and was last updated 7 years ago by
andytc.
-
AuthorPosts
-
February 3, 2019 at 3:46 am #489257
Norbert
ParticipantHello, I have News Pro theme and wanted to ask how to customize it so that menu items would proportionally fit into the length shown in the picture ( either 1 or 2). There won't be more menu items.
Thank you for replies.February 3, 2019 at 8:57 am #489260Victor Font
ModeratorPlease post a link to the site. We can't help unless we can examine the CSS.
Also, you said you want to fit the menu to either 1 or 2 in the picture. What do you mean by that? Is it 1 OR 2 or both depending on screen size?
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?February 3, 2019 at 4:49 pm #489267Norbert
ParticipantSorry. Here's the link: https://geeksadvice.com/
Sorry for being unclear, I meant OR, one or another option is okay 🙂
May I add another question about the menu - it used to collapse on smaller screens, and interestingly, in Customize page (while the screen size is smaller) it appears collapsed, but in live version the menu buttons just shrink, but do not collapse into one menu button. I didn't do any changes to menu as far as I can remember.February 4, 2019 at 6:32 am #489285Norbert
Participanthttps://imgur.com/a/YwbgGlq added an image to explain better (regarding the second question). On the left, it's how I see the menu when in Customize panel. Everything's ok, the menu collapses on smaller screen. On the right, it is the live version of website.
February 4, 2019 at 7:29 am #489287Victor Font
ModeratorAs I said in my earlier post, please post a link to the site. We cannot help you without being able to examine the CSS.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?February 4, 2019 at 10:16 am #489290Norbert
ParticipantI already did, in my reply #489267 - it's https://geeksadvice.com/
February 4, 2019 at 11:01 am #489292Victor Font
ModeratorSorry, I missed the it the first time. I'll take a look.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?February 28, 2019 at 1:42 pm #489768Norbert
ParticipantAny news?
March 1, 2019 at 3:02 am #489775andytc
ParticipantYou can try this as custom CSS , make sure you test it all the way down through devices.
You might have to add !important in certain places depending on where you add this -
.genesis-nav-menu { display: flex; justify-content: space-between; } .genesis-nav-menu .menu-item { display: inline-block; text-align: center; margin-right: 0; width: 100%; } .genesis-nav-menu li:last-child a { border-right:none; } @media only screen and (max-width: 1023px) { .genesis-nav-menu { display: block; } .genesis-nav-menu .menu-item { width: auto; } } -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.