LaneStadelmaier Posted September 23, 2022 Share Posted September 23, 2022 Site URL: http://www.houseofhope.amsterdam/ Hi, I want to add a photo above the navigation bar. Which CSS code do I need? Link to comment
Ziggy Posted September 23, 2022 Share Posted September 23, 2022 You may be able to use this code to add in an image to the announcement bar: https://insidethesquare.co/squarespace-tutorials/announcement-bar-image 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
tuanphan Posted September 24, 2022 Share Posted September 24, 2022 22 hours ago, LaneStadelmaier said: Site URL: http://www.houseofhope.amsterdam/ Hi, I want to add a photo above the navigation bar. Which CSS code do I need? Add to Design > Custom CSS header#header:before { background-image: url(https://cdn.pixabay.com/photo/2019/12/20/18/28/fir-4709032__480.jpg); background-size: cover; background-position: center center; background-repeat: no-repeat; display: block; width: 100%; height: 350px; content: ""; } /* mobile */ @media screen and (max-width:767px) { header#header:before { height: 200px; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) 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