sanonyme23 Posted October 17, 2023 Posted October 17, 2023 I would very much like to center my navigation links in my side bar in the Supply template, much like you can in the Wells template. I have been told I need to add the code: .menu-block .menu-selector { margin-bottom: 3em text-align: center } into my CSS. When I do it suggests that there is an error in line two. Any suggestions on how to center the navigation links? SQSP purports to be user friendly and that one can adjust code and setting to suit one's desired look, but no having much luck thus far. Many thanks Mike
Ziggy Posted October 17, 2023 Posted October 17, 2023 28 minutes ago, sanonyme23 said: into my CSS. When I do it suggests that there is an error in line two. This code is missing semi-colons after each line: .menu-block .menu-selector { margin-bottom: 3em; text-align: center; } Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
sanonyme23 Posted October 21, 2023 Author Posted October 21, 2023 Hi Ziggy, 'Crunch buckets' as no-one says. Thanks for the tip. I will be trying this out shortly (currently travelling, France, Spain and back to Maroc, so it might take a day or two. Very excited to have a possible solution. The first suggest came from a Fès based web guy, but without any mention of semi-coli. Cheers. مايك
sanonyme23 Posted November 23, 2023 Author Posted November 23, 2023 sadly still no joy. Added suggested code, but nothing. Perhaps I am not compiling/saving code to properly add it? I had presumed changes to CSS would automatically bee saved and compiles. Hmmmm.
Ziggy Posted November 23, 2023 Posted November 23, 2023 Are you trying to make lasting changes to your website via chrome developer tools? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
sanonyme23 Posted November 23, 2023 Author Posted November 23, 2023 I was attempting to make lasting changes on a copy of my website (safe not sorry) and was trying to use Safari/Firefox's source code pane to add the additional info. I am not intimately aware of how to approach this in Safari let alone Chrome! Should I just be using the Custom CSS window the the SS website tools? If so how to save/compile - I can enter the code but not sure how to get my website to display and save the changes. Cheers.
Ziggy Posted November 23, 2023 Posted November 23, 2023 6 minutes ago, sanonyme23 said: Safari/Firefox's source code pane This only allows you inspect a website and test locally, the changes are only visible to you, and as soon as you refresh the page those changes disappear. 8 minutes ago, sanonyme23 said: Should I just be using the Custom CSS window the the SS website tools? If so how to save/compile - I can enter the code but not sure how to get my website to display and save the changes. Yes, you need to use Custom CSS. The changes are live, and 'compiled' once you save. All I have done so far is to bug check the code you initially shared, I don't know if it works because I don't know exactly what you want to achieve or where (website/page URL). Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
sanonyme23 Posted November 26, 2023 Author Posted November 26, 2023 Ziggy, thanks for this further info. What I am hoping to achieve is to have the 'navigation' links in my side bar, across my entire site, display as centered rather than display as left justified as is currently the case. sanonyme.com cheers
Ziggy Posted November 27, 2023 Posted November 27, 2023 What it looks like you are asking for is centering by-eye, you're moving the entire navigation to the right to align the first piece of text, you could try using this Custom CSS, and tweaking the value until you're happy with it: #header .navigation, .navigation-secondary { margin-left: 1.5em; } Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
Solution sanonyme23 Posted November 27, 2023 Author Solution Posted November 27, 2023 Hi Ziggy, I was only entering by 'eye' to demonstrate what I was after. So yes I was entering by 'eye' on a screenshot to get across my desire. But really what I was after was a code solution, which you have provided, Now I have the code I can go about tweaking the 'em' spacing. Out of curiosity is there a way to centre everything in the navigation bar, or should I just be happy and leave well enough alone? Many thanks, Ziggy 1
Ziggy Posted November 27, 2023 Posted November 27, 2023 Do you want to have the text center-aligned? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
sanonyme23 Posted November 28, 2023 Author Posted November 28, 2023 Hi Ziggy, I would be interested to have the possibility of centre aligned navigation menu text, if only to compare and contrast with the "margin left" option of 'faux' centring with its attendant display of the nested items. Mike Ziggy 1
Ziggy Posted November 29, 2023 Posted November 29, 2023 Try this Custom CSS to center all of the navigation text: .navigation, .navigation-secondary { text-align: center; } Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment