• Hello there,

    I am using the text editor for basic blog writing. If I change the font colour of one word or a group of words to a different colour it sometimes puts them all on a new line if the different coloured words don’t all fit on the same line

    e.g.
    black black black black text .
    red red red red red red red red red text .
    black text .

    instead of

    black black black black text red red red .
    red red red red black black black etc .

    How do I stop this from happening so that text of different colours can continue on the same line without breaks, independent of different colours?

    Kind regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi in your text view :

    
    <span style="color:#000000;"> Black text</span> <span style="color:#CCCCCC;">Gray Text</span>
    

    To make things easier you can add different classes to your style.css / custom.css and define font colors once.

    for example

    
    .blackt{
    color:#000000;
    }
    
    .grayt{
    color:#CCCCCC;
    }
    

    Then your span will be
    <span class=”blackt”></span> etc.

    All the best!

    Thread Starter errgentlemen

    (@errgentlemen)

    Thank you very much

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Different coloured text appearing on different lines’ is closed to new replies.