Tagged: , , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #207526

    Dear Support,

    I want to change the font of one single word within a text block.
    When I do this via <span style = “font: courier”;> TEXT </span> it works. But when I define a CSS-class via quick CSS and write within the editor <p class= “xyz”> TEXT </p> it doesn’t.
    What am I doing wrong?

    kindest regards,

    Klaus

    #207690

    Hi Klaus!

    Have you tried adding the !important rule?

    Regards,
    Josue

    #207937

    Hi Josue,

    thank you very much for your valuable hint. It works!

    But there is one thing which is very strange: if I remove the keyword !important from the CSS-rule afterwards, its effect remains, even after cleaning the cache and a new start of wordpress.

    Regards,

    Klaus

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Changing font in text block via CSS’ is closed to new replies.