- This topic has 11 replies, 6 voices, and was last updated 6 years, 3 months ago by Leo.
-
AuthorPosts
-
November 3, 2016 at 8:00 am #241380Jan
Hello !
We use the generate press theme and the addons, which are great !There’s just one thing I can’t find,
I’d want the menu to be next to the logo.
I’ve tried several answers that I’ve found on this forum, but still no luck.
( for example , https://generatepress.com/forums/topic/logo-and-menu-float-left-problem/, this made my menu appear twice )We already have topbar with left and right floating which works perfectly.
We just need the menu to move to the left, next to the logo .
http://www.floorsonline.beCould you please help me figure this one out ? π
November 3, 2016 at 11:02 am #241435TomLead DeveloperLead DeveloperHi there,
Give this CSS a try:
.nav-float-right .inside-header .main-navigation { float: none; display: inline-block; vertical-align: middle; }
Let me know π
November 4, 2016 at 3:26 am #241607JanThat works perfect ! Thank you !!! π
I just have one little question,
When we open our site on the ipad, it shows a mobile menu when the screen is lying verticaly (? If you understand this π ) which is perfect,
but when you view the website when the ipad is lying horizontal, it shows the normal menu.
However, the menu is placed under the logo, because it doens’t fit the screen.
Is there a way to change the padding between the menu items, resize the logo or to show the sticky menu instead on horizontal mobile view ?November 4, 2016 at 7:10 am #241655dasigna… menu looks just fine for me on landscape view on ipad. ??
November 4, 2016 at 10:46 am #241725TomLead DeveloperLead DeveloperLandscape on tablets use the desktop breakpoint, so what you could do is add a media query to reduce the font size of your menu items at your needed breakpoint.
For example:
@media (max-width: 1000px) { .main-navigation .main-nav li a { font-size: 14px; } }
November 16, 2016 at 12:49 am #244734JanThank you so much !
November 16, 2016 at 9:17 am #244857TomLead DeveloperLead DeveloperYou’re welcome π
July 14, 2017 at 4:36 am #349311tsecherI use both main and secondary menu under the logo and the secondary menu is the one I have left alligned. How do I refer to the secondary menu in the code?
July 14, 2017 at 10:22 am #349461TomLead DeveloperLead DeveloperAny chance you can start a new topic with what you’re wanting to do?
Thanks! π
July 14, 2017 at 3:58 pm #349580tsecherAlready did – sorry π
June 12, 2018 at 11:03 am #598467generatorHello,
I also wanted the Logo left and Navigation right.But your code from top of this topic doesn’t work for me (it stays above the navigation).
Actually “nav” is outside of “header” where logo is?!:<header>
</header>
<nav></nav>This doens’t work with that css, does it?!
I have the menu as “primary menu”
My version is 1.6.2(I admit, before that I played around with making it a split menu…but I already deleted that css…now I’m not sure if I had done some script stuff somewhere?(I believe the split thing works without, so I didn’t?!).)
June 12, 2018 at 12:44 pm #598511LeoStaffCustomer SupportHi there,
Any chance you can open a new topic and link us to the page in question?
Thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.