Jump to content

Changing color of markdown boxes

Recommended Posts

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


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






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

Link to comment
  • Replies 2
  • Views 2.8k
  • 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;


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


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.