Jump to content

The block ID is not working

Go to solution Solved by creedon,

Recommended Posts

Posted

Site URL: https://www.mjsentertainmentspot.com/bookings

I'm trying to add a drop shadow to my text using this code:
  #block-yui_3_17_2_1_1728861408303_19009{
text-shadow: 3px 5px 3px rgba(0,0,0,.6);
}

I changed the filler text to the block ID using the Squarespace ID finder. I tried many options but the shadow isn't appearing on my text. I may be missing something simple here, but I have no clue. I've been having this issue for a little while.

  • Solution
Posted (edited)

You have a syntax error in your selector.

.user-items-list-simple .list-item[data-is-card-enabled="true"] #block-yui_3_17_2_1_1728861408303_19009 {
  text-shadow: 3px 5px 3px rgba(0,0,0,.6)
}

The .user-items-list-simple .list-item[data-is-card-enabled="true"] is the issue. After removal.

Screenshot2024-10-13at6_41_20PM.thumb.png.1586896e55e98aefbcd054614fceedcb.png

Let us know how it goes.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Posted
22 minutes ago, creedon said:

You have a syntax error in your selector.

.user-items-list-simple .list-item[data-is-card-enabled="true"] #block-yui_3_17_2_1_1728861408303_19009 {
  text-shadow: 3px 5px 3px rgba(0,0,0,.6)
}

The .user-items-list-simple .list-item[data-is-card-enabled="true"] is the issue. After removal.

Screenshot2024-10-13at6_41_20PM.thumb.png.1586896e55e98aefbcd054614fceedcb.png

Let us know how it goes.

Thank you, this worked!

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.