- This topic has 11 replies, 2 voices, and was last updated 3 years, 2 months ago by
Fernando.
-
AuthorPosts
-
January 29, 2023 at 8:19 pm #2513599
Paul
I’m trying to get a mobile menu similar to this but there are too many parts for my small brain!!
Here is what I’m trying to achieve –
https://imgur.com/a/7dNLz5vThank you!
January 29, 2023 at 9:16 pm #2513620Fernando Customer Support
Hi Paul,
You can use the GP Off Canvas Panel. Reference: https://docs.generatepress.com/article/off-canvas-panel-overview/
Then, as for the Social Icons, you can add these through GenerateBlocks.
Here is an example of how to add them: https://www.youtube.com/watch?v=yAleVWQi5EA
Hook the Block Element to
after_slideout_navigation.January 29, 2023 at 10:00 pm #2513639Paul
Thank you!
So I have that part pretty much all set – I’m looking to see if I can add borders underneath that to the whole way and add little arrows or an icon like in the sample.
Also is there a way when the menu slides out to have it below the header and not cover it?
Thank you so much!
Paul
January 29, 2023 at 10:04 pm #2513640Fernando Customer Support
Hi Paul,
For reference, can you provide the link to the site in question?
I’ll see what can be done.
You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
January 29, 2023 at 10:15 pm #2513645Paul
January 29, 2023 at 10:32 pm #2513663Fernando Customer Support
To add the lines and the arrow, here’s something you can try adding through Appearance > Customize > Additional CSS:
.main-nav > ul > li:after { content: "\27A4"; margin-right: 8px; } .main-nav > ul > li { display: flex; align-items: center; justify-content: space-between; border-bottom: solid 1px #fff; }Here’s something you can try to put the Off canvas a bit below the Header:
nav#generate-slideout-menu { top: 99.5px; background-color: red; height: calc(100vh-60px); }January 30, 2023 at 8:24 am #2514332Paul
This is amazing!!!! Thank you!!!! One more thing – is it possible to not have the dark screen over the body of the website when the menu is open?
January 30, 2023 at 5:02 pm #2514825Fernando Customer Support
You’re welcome! It’s possible.
Try adding this as well:
body.offside-js--is-open .slideout-overlay { opacity: 0; }January 30, 2023 at 6:28 pm #2514884Paul
This is amazing!! Thank you so much! One. Oh e quick question
– is it possible to get rid of this X icon on the pull out menu?Here it is circled:
https://imgur.com/a/ZJegJIaJanuary 30, 2023 at 6:32 pm #2514886Fernando Customer Support
Can you try adding this?:
nav#generate-slideout-menu button.slideout-exit{ display: none; }January 30, 2023 at 6:35 pm #2514888Paul
Totally perfect!! You and the entire crew over there are so awesome!!
Life Long customer for sure!!
Thank you!!
January 30, 2023 at 6:37 pm #2514889Fernando Customer Support
You’re welcome, Paul! Have a nice day!
-
AuthorPosts
- You must be logged in to reply to this topic.