TimMarner Posted June 20 Share Posted June 20 Hi can anyone help me with this I am trying to add a background image to the events block on my events page, but I don't think this option exists in Squarespace Here is the page I am trying to this on: https://leebradbury.squarespace.com/events Password: bradbury I want the background to go on just the events section block, not the whole page Thank you for any help Tim Marner® Award-Winning Branding Agency In Bolton https://timmarner.co.uk/ Link to comment
tuanphan Posted June 22 Share Posted June 22 Add to Design > Custom CSS /* events page */ [data-section-id="6491adfe8b5357646d504b97"] .section-background { background-image: url(https://cdn.pixabay.com/photo/2023/06/13/10/09/man-8060589_1280.jpg) !important; background-position: center; background-repeat: no-repeat; background-size: cover; } TimMarner 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
TimMarner Posted June 22 Author Share Posted June 22 1 hour ago, tuanphan said: Add to Design > Custom CSS /* events page */ [data-section-id="6491adfe8b5357646d504b97"] .section-background { background-image: url(https://cdn.pixabay.com/photo/2023/06/13/10/09/man-8060589_1280.jpg) !important; background-position: center; background-repeat: no-repeat; background-size: cover; } This has worked right on the events page! Thank you. But it has also added the background to the inner events page. How do I remove it from those pages? Tim Marner® Award-Winning Branding Agency In Bolton https://timmarner.co.uk/ Link to comment
tuanphan Posted June 23 Share Posted June 23 23 hours ago, TimMarner said: This has worked right on the events page! Thank you. But it has also added the background to the inner events page. How do I remove it from those pages? Use this new code /* events page */ body.view-list [data-section-id="6491adfe8b5357646d504b97"] .section-background { background-image: url(https://cdn.pixabay.com/photo/2023/06/13/10/09/man-8060589_1280.jpg) !important; background-position: center; background-repeat: no-repeat; background-size: cover; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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