picklepink Posted August 23, 2023 Share Posted August 23, 2023 Hi, my website is showing a annoying .header code whe loading can anyone help me so it does not show please. Here is the code .header {position: relative; z-index: 2; width: 100%; box- sizing: border-box; padding-top: 30px;!important padding- bottom: 30px; limportant padding-left: 4vw; padding-right: 4vw; pointer-events: auto;} Also attached a image to show you. Link to website https://shorturl.at/fwMQZ Thanks Link to comment
Ziggy Posted August 23, 2023 Share Posted August 23, 2023 (edited) It looks like you are adding style code to the header code injection without style tags, so it is being rendered as plain text in the header. You can fix this in one of two ways, either add the style code to Custom CSS, or add style tags around the styling code in the header like this: <style> .header {position: relative; z-index: 2; width: 100%; box- sizing: border-box; padding-top: 30px;!important padding- bottom: 30px; limportant padding-left: 4vw; padding-right: 4vw; pointer-events: auto;} </style> Edited August 23, 2023 by Ziggy 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