Philu
November 16, 2022, 10:42am
1
I have a text block with a normal text and then a metafield behind it, like this
Material: (metafield)
How do i change the color of that specific metafield globally? I need the text that comes out from the metafield black. As the ones on top.
When i’m doing changes it keeps changing text colors everywhere…
Website: www.underwear4you.se
Best regards
Phil
Hello @Philu ,
Go to Online store >> Edit code >> Assets >> base.min.css
Add this code below of base.css file
.t4s-pr__richtext p {
color: black !important;
}
Hey @Philu ,
Welcome to the Shopify community!
You can follow the instruction below:
Go to Online Store->Theme->Edit code->base.css->paste bellow code in bottom of file.
.t4s-pr__richtext p {
color: #000 !important;
}
If you feel like my answer is helpful, please Like and mark it as a solution **.** Let me know if you have any further questions.
Thank you!
Raman
Philu
November 16, 2022, 12:26pm
4
Hi, thank you for your reply.
The solution you sent me makes the entire text all black, not only the metafield text.
I don’t want the marked part to change color.
Philu
November 16, 2022, 12:26pm
5
Hi, thank you for your reply.
The solution you sent me makes the entire text all black, not only the metafield text.
I don’t want the marked part to change color.
@Philu ,
Go to theme customization and select Material word and click on B icon.
And make material text bold.
Then you can add below CSS on base.css file.
.t4s-pr__richtext p {
color: black !important;
}
.t4s-pr__richtext strong {
color: #878787 !important;
font-weight: 400 !important;
}
.t4s-pr__richtext b{
color: #878787 !important;
font-weight: 400 !important;
}
1 Like
Philu
November 16, 2022, 12:53pm
7
Thank you so much!
This worked just how i wanted it. I really appricate the help.
Have a nice day
Ps, posting picture with finished result if someone stumbles into this thread and needs help.
18star
March 20, 2023, 9:21am
8
Hi there, How can I change my theme’s (Kalles) font to the google font: Tilt Neon?