jzs Posted April 5, 2023 Share Posted April 5, 2023 (edited) hello, I followed the following page: How to add a background image to a page in Squarespace — InsideTheSquare.co to change a background image on one page but it does not work. I got the url from squarespace Custom CSS box. I Created a code block on that particular page, with the following: #page{background-image:url(https://images.squarespace-cdn.com/content/v1/5710d026859fd01f84e802a6/1522428965924-CJ0ZK2ASUBPMI7VQJROW/Background+-TM.jpg); background-size:cover} #page.page-section{ background:transparent!important } #page.page-section.section-background{ background:transparent!important; } but nothing happened. What am I doing wrong? Also, how do I find the id of a page on squarespace? Edited April 5, 2023 by jzs Link to comment
tuanphan Posted April 8, 2023 Share Posted April 8, 2023 Change this line #page.page-section{ background:transparent!important } #page.page-section.section-background{ background:transparent!important; } to this #page.page-section, .section-background, .section-border { background:transparent!important } If it still doesn't work, please share link to page where you want to change color, we can check easier 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
jzs Posted April 14, 2023 Author Share Posted April 14, 2023 Hello, it still does not work. Here is the page I want to change the background of using my own image: www.nohaz.co/en/products The background image should appear behind all the other sections/images i.e. replacing the current black plain one. Appreciated. Cheers. Link to comment
jzs Posted April 14, 2023 Author Share Posted April 14, 2023 I am using version 7.0 still. Link to comment
tuanphan Posted April 16, 2023 Share Posted April 16, 2023 Don't remove any code in your current code Add this to HOME > DESIGN > CUSTOM CSS #collection-5abe62180e2e72c990f19072 { background-image: url(https://cdn.pixabay.com/photo/2023/04/06/01/44/man-7902570_1280.jpg) !important; } 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
jzs Posted May 2, 2023 Author Share Posted May 2, 2023 Tuan, will this change the default background of all the site or just the page I want to change its background? Link to comment
tuanphan Posted May 4, 2023 Share Posted May 4, 2023 On 5/2/2023 at 8:18 PM, jzs said: Tuan, will this change the default background of all the site or just the page I want to change its background? Just one page only 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