Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #706745

    Hi!

    I have a special heading (H1) that is bold (<b>Heading</b>) wich makes the heading black since bold text is set to black.
    I need the bold text to remaing black but wish to make this specific heading white.
    I set a custome Css Class for this special heading but can’t get it to work css code. Can you help me making the heading white?

    CSS code should target the bold color within the custome css class.

    Thank you!

    • This topic was modified 8 years, 1 month ago by luckylobo10.
    #706988

    Hey luckylobo10,

    Try to use the strong tag instead, you can then assign a class in the markup:

    <strong class="your-class">Your text

    Then in your CSS:

    
    .your-class {
      color:white !important;
    }

    Best regards,
    Rikard

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