Jump to content

Changing color of markdown boxes

Recommended Posts

Site URL: https://cbcbellevue.com/7steps

Hello!

I am trying to change the color of these markdown boxes. There are 7 "steps" so 7 different dropdown boxes and each needs a different color (hex codes below) I tried changing background and using the ID block and markdown-block {color: #######} and {background:#####} and nothing has worked. I even put a spacer between each markdown so they were individual block ID #s but wasn't sure if that was necessary or not? Attached is the section of the page I am working on and I posted the page url with this: https://cbcbellevue.com/7steps 

Please let me know what to put in either the individual markdown html boxes or CSS coding box to change them to the hex colors!

1.Partner: 9f754f. 

2.Pray: a2866d

3.Read:b4bba5

4.Discuss:99a48c

5.Memorize:8a8e71

6.Engage:717151

7.Bless:39463a

Screen Shot 2020-09-09 at 1.34.28 PM.png

Link to comment
  • Replies 2
  • Views 2.7k
  • Created
  • Last Reply

Add to Home > Design > Custom CSS

h2#step-1-partner {
    background: red;
    border-color: red;
}
h2#step-2-pray- {
    background: violet;
    border-color: violet;
}
h2#step-3-read- {
    background: green;
    border-color: green;
}
h2#step-4-discuss- {
    background: blue;
    border-color: blue;
}
h2#step-5-memorize- {
    background: yellow;
    border-color: yellow;
}
h2#step-6-engage- {
    background: brown;
    border-color: brown;
}
h2#step-7-bless- {
    background: red;
    border-color: red;
}

image.thumb.png.666c740f255b6d61499dc0609186d3bc.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

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.