Jump to content

Custom CSS ID Block keeps changing.

Recommended Posts

I'm tying to use the Custom CSS function outlined here to add a background color to a blog carousel (version 7.0) but every time I go back and edit the page the id changes and I loose my styling. How can I lock in the ID number ? (https://www.bigcatcreative.com/blog/background-text-block-squarespace)

Link to comment
  • Replies 3
  • Views 427
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 5/20/2022 at 6:47 PM, tuanphan said:

Don't use #yui-... it is dynamic ID, will be lost when you reload the page

Use #block-yui...

That ID is defined on the HTML page, not the Custom CSS page though right? So does that mean I need to figure out how to rebuild the carousel in a code bloc to get it to work? O can I change that somewhere without needing to hack it too badly? 

Link to comment

Please post the URL for a page on your site where we can see your issue.

If your site is not public please set up a site-wide password, if you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works.

Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

We can then take a look at your issue.

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.

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.