jallory Posted January 19, 2022 Share 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! Link to comment
christyprice Posted January 19, 2022 Share 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 ✅ For Web Designers: Squarespace Client Process Checklist. Save time and bring consistency to your web design projects. Receive a Notion doc template with my 100+ item client process checklist. Link to comment
Solution jallory Posted January 20, 2022 Author Solution Share 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 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