highlighting text

  • Author
    Posts
  • #86270

    nikaperucita
    Member

    Hello!

    I use this to highlight text on my blog:
    <span style=”background-color: yellow;”> </span>

    But for some reason sometimes it just doesn’t work.
    I’m trying to write the code down on the text tab in one of my posts and when I save it, it disappears leaving me with just:
    <span> </span>

    What am I doing wrong?

    Thank you!

    The blog I need help with is translatorfood.wordpress.com.

    #86515

    ellenbauer
    Theme Author

    Hi there,

    to include code into text will only work in the “Text editor” tab (not in the Visual Editor), did you maybe mix them up? This could be the reason why it only works sometimes.

    Alternatively you can also try to use “ins” or “mark” to mark text instead, e.g.:

    <ins>this text is marked</ins>

    Please let me know, if you still have trouble with this.
    Best, Ellen

The topic ‘highlighting text’ is closed to new replies.