Solved

Dawn theme: change text color in rich text section

Christinahadi
Excursionist
34 0 5

Dear,

Who can help me in changing the text color for a specific rich text section?

I managed to change a part of the rich text from white to black, but not yet the heading & the button.

https://contour-lab.myshopify.com/

Christinahadi_0-1632149252407.png

 

Thanks in ad for your help!

 

Accepted Solution (1)
Zworthkey
Shopify Partner
5581 642 1565

This is an accepted solution.

@Christinahadi 
paste this code on the bottom of the section-rich-text.css file.

.rich-text__blocks a {
    color: black !important;
}
.rich-text__blocks .h1 {
    color: black !important;
}

Thank you.

View solution in original post

Replies 4 (4)

Zworthkey
Shopify Partner
5581 642 1565

@Christinahadi 
give me the color which you want to put in the heading and button.
Thank You.

Christinahadi
Excursionist
34 0 5

I would like it to be black, please!

Thank you!

Zworthkey
Shopify Partner
5581 642 1565

This is an accepted solution.

@Christinahadi 
paste this code on the bottom of the section-rich-text.css file.

.rich-text__blocks a {
    color: black !important;
}
.rich-text__blocks .h1 {
    color: black !important;
}

Thank you.

mnorwood16
Tourist
3 0 0

Hello,

I also need to add this code but need it in this color > #33B4A3 added only to the title text in this particular rich text block. However, I cannot get the code that you provided above (with the "black" text) to work at the bottom of the rich text file. I keep getting an error that says it cannot save. Can you help me with this? (this theme is not yet published).

Thanks!

2021-09-29-(1).jpg