-
When I click on the menu icon and the menu pops up….the logo goes down and shows into the menu. How do I remove that?
-
Hi there,
Can you disable any caching or optimization plugin for me to take a cleaner look at the code?
Thanks!
-
Yes, I believe I have now deactivated the cache plugin.
-
Let’s try another solution to achieve the same layout.
1. Activate the mobile header option and upload a mobile header logo:
https://docs.generatepress.com/article/mobile-header/2. Set the mobile menu breakpoint to
2000px– I believe this is already done.3. Add this CSS:
.site-logo.mobile-header-logo { order: 2; margin-left: auto; margin-right: auto }Learn how to add CSS: https://docs.generatepress.com/article/adding-css/
Let me know 🙂
-
Now that has removed the header for some reason?
-
It seems the color has changed so it hadn’t disappeared but the logo is still showing in the menu. Like it flows from the header, into the menu.
-
Please remove all your other CSS related to that header layout and only use mine above:
https://generate.support/topic/how-do-i-remove-logo-from-mobile-menu/#post-1701 -
I did that. Now how do I get the logo in the middle with the menu icon on the right side and search icon on the right?
Also I want the desktop menu to show under the logo rather than the hamburger menu like on mobile.
-
Now how do I get the logo in the middle with the menu icon on the right side and search icon on the right?
My CSS here should do that: https://generate.support/topic/how-do-i-remove-logo-from-mobile-menu/#post-1701
You have an obvious syntax error here so please fix it:
https://www.screencast.com/t/uZI2xoN4FJ6 -
What is a syntax error?
-
You can Google CSS syntax errors to see some discussions.
It basically means that the CSS is wrong and it’s not recognized by the browser.
You can use this site to check:
https://jigsaw.w3.org/css-validator/#validate_by_inputAnd if you just look at this block of code closely, you should see that it looks like two snippets were combined together: https://www.screencast.com/t/uZI2xoN4FJ6
- You must be logged in to reply to this topic.