ANDREY_DANILOV Posted April 26 Share Posted April 26 I need some help with mobile navigation styling. I've attached an image below of how it looks like right now (on the left) vs how I want it to be (on the right). Basically I can't find a way how to centralize everything on the screen and swap arrows. Also Is there any way for the drop down element to open up and actually drop down on the same page? Without opening a new menu slide. Please help. A Link to comment
Shadmon Posted April 26 Share Posted April 26 @ANDREY_DANILOV Please add this CSS code to your website : .Mobile-overlay-nav-item.Mobile-overlay-nav-item--folder { text-align: center; } .Mobile-overlay-menu { left: 30px; } .Mobile-overlay-close { z-index: 999 !important; } Let me know if it works! Link to comment
ANDREY_DANILOV Posted April 28 Author Share Posted April 28 Perfect, thank you Shadmon! One last thing how do I change the default double arrows to something from the squrespace icon font or from font awesome? Thank you. A Link to comment
Solution Shadmon Posted April 28 Solution Share Posted April 28 Sure, you can use the squaresapce icon. Just replace the value on this code : Here is the dropdown icon code: .Mobile-overlay-nav-item--folder::after { content: '\00BB'; } Here is the before icon code: .Mobile-overlay-folder-item--toggle::before { content: '\00AB'; } pawora-dase32, lesu-wacosi75, niko-rahayo81 and 1 other 2 2 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment