Jump to content

coding effects not showing up anymore

Recommended Posts

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
  • Replies 5
  • Views 504
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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?

image.thumb.png.a3c4833bf02bb4525f2378c6d5044654.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

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

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.