- This topic has 9 replies, 2 voices, and was last updated 3 months, 1 week ago by
David.
-
AuthorPosts
-
June 16, 2016 at 11:41 pm #202655
marketingeszkozok
Hello,
I’d like this:
http://prntscr.com/bhezraPage:
http://www.alarmservice.hu/kezdooldal/How can I break a new line?
Csaba
June 17, 2016 at 12:04 am #202661Tom
Lead DeveloperLead DeveloperHmm, not sure it will work, but worth trying.
Add this CSS:
.main-navigation .main-nav ul li a, .menu-toggle, .main-navigation .mobile-bar-items a { line-height: inherit; padding-top: 10px; padding-bottom: 10px; }
Adding CSS: https://generatepress.com/knowledgebase/adding-css/
Then you’ll need to add a line break into your Navigation Label in “Appearance > Menus” like this:
<br />
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJune 17, 2016 at 12:07 am #202662marketingeszkozok
I copied.
It’s not working.Other ideas?
June 17, 2016 at 12:08 am #202663Tom
Lead DeveloperLead DeveloperDid you add the line breaks to your menu items? I’m not seeing them on your site.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJune 17, 2016 at 12:20 am #202664marketingeszkozok
This was missing. 🙂
Thanks!How can I put into the middle?
It should be the same on both sides.
http://prntscr.com/bhfbzhJune 17, 2016 at 12:34 am #202665Tom
Lead DeveloperLead DeveloperHave you tried setting the Navigation Alignment to Center in “Customize > Layout”?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJune 17, 2016 at 12:40 am #202666marketingeszkozok
How can I “Kapcsolat” menu center to put the menu?
http://prntscr.com/bhfirsJune 17, 2016 at 8:31 am #202762Tom
Lead DeveloperLead DeveloperHmm, as far as I know there’s really no good way to do that. If you want to do the two line thing you’ll have to apply it to all items.
You can ask over on http://stackoverflow.com/ to see if anyone else has any ideas.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 6, 2020 at 5:40 am #1474478Neville
Hello Tom,
Some of our menu items are two words. I have added the CSS shown here and with the line break it correctly separates the words. However it puts the first word above the menu line rather than the second word below the menu line where I want it. Have you any suggested mods to the CSS Please?Thanks
Nev.October 6, 2020 at 6:22 am #1474540David
StaffCustomer SupportHi there,
can you raise a new topic where you can share a link to the site in the Private Info box and we can take a look
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.