creativejordan Posted March 18 Share Posted March 18 Hello, I'm trying to a create a simple "coming soon" site to collect email addresses of people interested in a product I'm building. For some reason my floating header is justified left no matter what I try to do to fix it. I have attempted some custom CSS but can't get it to be center justified. I would really appreciate help. The custom code I'm using is in the attached photo and below. header { position: fixed; left: 0; right: 0; margin:4vw; max-width: 450px; background-color: rgba(160, 160, 160, .1)!important; backdrop-filter: blur(5px)!important; border-radius: 15px } Link to comment
Ziggy Posted March 18 Share Posted March 18 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! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
creativejordan Posted March 18 Author Share Posted March 18 url: https://cello-heptagon-w47h.squarespace.com/ pw: 1234 Link to comment
Solution Ziggy Posted March 18 Solution Share Posted March 18 I made one smaller tweak to your code in the margin line, and removed the LEFT and RIGHT as they were unnecessary: header { position: fixed; margin:4vw auto; max-width: 450px; background-color: rgba(160, 160, 160, .1)!important; backdrop-filter: blur(5px)!important; border-radius: 15px } creativejordan 1 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! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
creativejordan Posted March 18 Author Share Posted March 18 wow, thanks so much, that was driving me crazy! Ziggy 1 Link to comment
Ziggy Posted March 18 Share Posted March 18 1 minute ago, creativejordan said: wow, thanks so much, that was driving me crazy! Happy to find a fix for you! 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! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ 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