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 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, 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 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, 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