- This topic has 11 replies, 3 voices, and was last updated 7 months ago by
David.
-
AuthorPosts
-
June 27, 2020 at 2:55 am #1343418
Chitika
I have changed my layout to nosidebars. Primary content is 724px.
But menu is also fixed to this layout.
Logo and menu are in two different lines.I want the logo and menu in full width or in one line.
June 27, 2020 at 6:14 am #1343540David
StaffCustomer SupportHi there,
in Customizer > Layout > Primary Navigation set the Inner Navigation Width to Full
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 27, 2020 at 6:41 am #1343553Chitika
Hello David.
Thanks . That worked in desktop mode.
But I have another problem.
The same does not work on mobile.
Logo – Menu – Search icon in one line on Mobile and Tablets.
June 27, 2020 at 7:10 am #1343579David
StaffCustomer SupportYour logo is too wide for those smaller devices.
We recommend enabling the Mobile Header in Customizer > Layout > Header and adding a more mobile friendly sized logo.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 27, 2020 at 7:30 am #1343589Chitika
I have resized the mobile logo to 120×14.
But still I don’t see the changes.
I published them.June 27, 2020 at 7:38 am #1343593David
StaffCustomer SupportWhat i meant was use a different logo – one that isn’t as wide as the other – maybe just your icons without the text?
Otherwise you will have to significantly reduce its size to make it fit – which you can do with this CSS:
.navigation-branding img, .site-logo.mobile-header-logo img { height: 15px; padding: 0; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 27, 2020 at 7:53 am #1343721Chitika
Your thought is excellent.
I just made my favicon as logo for mobile. That fits good.
Thanks very much.If not bothering you too much, can I make the
Logo (favicon icon) – left
Menu label – center
Search icon – right.June 27, 2020 at 9:23 am #1343791Leo
StaffCustomer SupportTry this:
.main-navigation.has-branding .menu-toggle { order: 1; margin-left: auto; margin-right: auto; } .site-logo.mobile-header-logo { margin-right: 0; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 27, 2020 at 7:33 pm #1344109Chitika
Thanks Leo. This code worked.
One last question and I will make this resolved.
The Mobile Menu Breakpoint is set to default at 768px.In tablet mode, I still see logo and menu on two different lines.
How to make it like Mobile, keeping the mobile menu breakpoint as default.June 28, 2020 at 6:05 am #1344356David
StaffCustomer SupportIncrease the Mobile Menu Breakpoint in Customizer > Layout > Primary Navigation
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 29, 2020 at 7:41 pm #1346392Chitika
Thanks David and Leo.
Your support was excellent.June 29, 2020 at 11:43 pm #1346522David
StaffCustomer SupportGlad we could be of help
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.