On our site, Bold text always default to GREEN
Hey kilimats,
It still defaults to green because there is a strong attribute there since it is a bold text.
<span style="color: #ce0202 !important;">LIVE</span>
You need to add the color to the strong attribute instead of the span. Or add an id to the span element and use it to target the word with CSS.
Best regards,
Jordan
do you mind walking me through the best way? we just need that specific bold text to be red, not others
Hi,
Let’s try to make it even more simple. Using inline style is cumbersome so let’s just use a css class name and add the related css styles in Quick css
<span class="bold-text">LIVE</span>
Add the below code in quick css
.bold-text {
font-weight:900!important;
}
For more info please check https://css-tricks.com/almanac/properties/f/font-weight/
Best regards,
Vinay
great idea thanks ! how do i add color to this ?
Hi,
Glad you like it.
To add text color simply use the css color property.
color:black;
or
color:#000;
An example can be seen here http://www.w3schools.com/css/css_text.asp
Best regards,
Vinay