PatrickOB Posted November 3, 2021 Share Posted November 3, 2021 Site URL: https://octopus-caterpillar-98j5.squarespace.com/config I want to create a translucent color behind white text so that the text stands out on top of a background photograph. I found online the code to do this. I found the block ID for the text block, and pasted it into the custom css area - and voila! a translucent gray box behind my text. Perfect. But now, days later, when I look at my site, there is no color behind my text, but the code is still there. Here's the code I used - it worked perfectly, but then it didn't: #block-64433ba78723b747d71d { background: rgba(0,0,0,.5); } Link to comment
Beyondspace Posted November 4, 2021 Share Posted November 4, 2021 1 hour ago, PatrickOB said: Site URL: https://octopus-caterpillar-98j5.squarespace.com/config I want to create a translucent color behind white text so that the text stands out on top of a background photograph. I found online the code to do this. I found the block ID for the text block, and pasted it into the custom css area - and voila! a translucent gray box behind my text. Perfect. But now, days later, when I look at my site, there is no color behind my text, but the code is still there. Here's the code I used - it worked perfectly, but then it didn't: #block-64433ba78723b747d71d { background: rgba(0,0,0,.5); } Do you mean something like this? Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Beyondspace Posted November 4, 2021 Share Posted November 4, 2021 Finding the right selector can help you go through it Try this code in Home > Design > Custom Css #block-38f6ed2c597dd4f5abfb h1 { background: rgba(0,0,0,.5); } Let me know how it works on your site Support me by pressing 👍 if this useful for you Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Beyondspace Posted November 4, 2021 Share Posted November 4, 2021 One tool helping you to get the right id in Squarespace site is Squarespace ID Finder Here is the way to use it: https://recordit.co/Aj9vXw6rfY Hope it can help you Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
PatrickOB Posted November 4, 2021 Author Share Posted November 4, 2021 1 hour ago, bangank36 said: Do you mean something like this? Link to comment
PatrickOB Posted November 4, 2021 Author Share Posted November 4, 2021 great! thanks for the help! 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