Jump to content

Adding a background colour to one markdown, instead of all of them

Recommended Posts


I'm currently using CSS to make the background of a markdown blue, however I don't want to apply this to all the markdowns on the website, just certain ones.

I'm using the below but it affects all boxes:


.markdown-block {
    background: #bfd6ea;

I need to target a specific one on the page with a block id, is there a way to do this?

Link to comment
  • Replies 1
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.