Jump to content

coding effects not showing up anymore

Recommended Posts

Posted

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);      }

 

  • Replies 5
  • Views 598
  • Created
  • Last Reply
Posted
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 - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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!

Posted

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 - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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!

Posted

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 - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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!

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.