jallory Posted January 19, 2022 Posted January 19, 2022 Site URL: https://spinach-red-c8lb.squarespace.com Hi, I have managed to change the background of my site header to an image rather than a color for desktop. I would like to do the same for mobile. Please help with how to change the mobile top header to an image instead of a color. Thanks!
christyprice Posted January 19, 2022 Posted January 19, 2022 Try adding this to Custom CSS. I'm using your already loaded background image and adjusting it to show the bottom, but you can play around with it: .Mobile-bar.Mobile-bar--top { background-image: url(https://static1.squarespace.com/static/61e20f7…/t/61e2136…/1642206056878/Wise+Heart+pdx+header+background.png); background-position: center bottom; } christyprice.com 🇺🇸 Austin, TX US 🐾 ✅ Get my Starter Template for Web Designers 🎬 Watch 7 Ways to Save Time as a Squarespace Designer from Circle Day 2024 🎥 Watch Circle Live: Hello Income (feat. Christy Price and Jeremy Schwartz)
Solution jallory Posted January 20, 2022 Author Solution Posted January 20, 2022 18 hours ago, christyprice said: Try adding this to Custom CSS. I'm using your already loaded background image and adjusting it to show the bottom, but you can play around with it: .Mobile-bar.Mobile-bar--top { background-image: url(https://static1.squarespace.com/static/61e20f7…/t/61e2136…/1642206056878/Wise+Heart+pdx+header+background.png); background-position: center bottom; } @christyprice Thanks. Here's what I ended up using that worked better. .Mobile-bar.Mobile-bar--top { background-image: url('url_of_my_uploaded_image_here'); background-repeat:no-repeat; background-size:cover; background-position: center;} Combined your .Mobile-bar.Mobile-bar--top suggestion with background image CSS for desktop from insidethesquare.co
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment