Tina42 Posted April 17, 2023 Share Posted April 17, 2023 Is there a way to make the background of the navigation two different colors in 7.1? I want a 50/50 split between a white background on the left and a black background on the right. I've searched the forums and can't seem to find anything related thus far. Thanks in advance for the assistance. Link to comment
Ziggy Posted April 17, 2023 Share Posted April 17, 2023 You should be able to use a linear gradient as a background colour for the header in CSS, like this should give a 50% white 50% black: background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, #000000 50%, #000000 100%); 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? Link to comment
Tina42 Posted April 17, 2023 Author Share Posted April 17, 2023 Unfortunately, that didn't work. Neither did the following: background: rgb(255,255,255); background: linear-gradient(90deg, rgba(255,255,255,1) 45%, rgba(0,0,0,1) 75%); The background of the navigations stays white. Can't figure out what I'm doing wrong. Link to comment
Ziggy Posted April 18, 2023 Share Posted April 18, 2023 What code did you use? Can you share your website 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? 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