Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #708960

    On our site, Bold text always default to GREEN

    • This topic was modified 8 years ago by yingyang.
    #709041

    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

    #709044

    do you mind walking me through the best way? we just need that specific bold text to be red, not others

    #709652

    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

    #709653

    great idea thanks ! how do i add color to this ?

    #709997

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.