Support » Fixing WordPress » before text use colour of font

Viewing 2 replies - 1 through 2 (of 2 total)
  • mrtom414

    (@mrtom414)

    I’m assuming you are talking about statements like this Post No 1:.

    All the text is in the same element. To make it work you would probably have to write some javascript code. The script would have to go though each <span> element to see if contained the : symbol. If it does it would have to extract that string from the current string reinsert the string enclosed in another element with a class. You can then use the class to format the string. It would be difficult and probably buggy to do it.

    sachinsawant02

    (@sachinsawant02)

    Before :- this word I want to use all text blod with #3d85c6 colour possible done with css or other please tell

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘before text use colour of font’ is closed to new replies.