earthwindflowermoon Posted October 14, 2021 Share Posted October 14, 2021 Site URL: https://tmforwomen.squarespace.com/ Hello, I have used the below code to centre align my mobile navigation text. I would like to move the text down so it is aligned in the centre vertically also. Is there a way to do this? Many thanks :) // Center Mobile Text // .Mobile-overlay-nav-item, .Mobile-overlay-folder-item { text-align: center;} .Mobile-overlay-menu {width: 100%; z-index: 1;} Link to comment
Beyondspace Posted October 14, 2021 Share Posted October 14, 2021 (edited) 2 hours ago, earthwindflowermoon said: Site URL: https://tmforwomen.squarespace.com/ Hello, I have used the below code to centre align my mobile navigation text. I would like to move the text down so it is aligned in the centre vertically also. Is there a way to do this? Many thanks 🙂 // Center Mobile Text // .Mobile-overlay-nav-item, .Mobile-overlay-folder-item { text-align: center;} .Mobile-overlay-menu {width: 100%; z-index: 1;} Try adding to Home > Design > Custom Css /*main menu*/ .Mobile-overlay-nav { position: absolute; top: 50%; left: 50%; transform:translate(-50%,-50%) } /*folder menu*/ .Mobile-overlay-folder { display: flex; flex-direction: column; justify-content:center; align-items: center; } Support me by pressing 👍 if this useful for you Edited October 14, 2021 by bangank36 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword HighlighterIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Beyondspace Posted October 14, 2021 Share Posted October 14, 2021 Main mobile menu Sub menu Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword HighlighterIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
earthwindflowermoon Posted October 14, 2021 Author Share Posted October 14, 2021 Perfect! This is exactly what I needed! Thank you so so much!!!! 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