Support » Fixing WordPress » before text use colour of font

  • one more issue before “:-” this text i want use font Colour is #3d85c6 can possible with css

    example
    Post no 1:- and
    Post no 2:- before “:-” this text i want add colour #3d85c6 in all posts

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @sachinsawant02 ,

    Something like this?

    
    /* CSS */
    .before-text {
      color: #3d85c6 !important; /* The colour you specified above. */
    }
    
    <!-- HTML snippet from your page from the link above. -->
    <p>
      <span style="color: #000000;">
        <span class="before-text">Post No. 1
        </span>: –
      </span>18 to 30 years<br>
      <span class="before-text">Post No. 2
      </span>: – 18 to 27 years
    </p>
    

    P.s. Code above tested on CodePen and W3C HTML validator.

    I want use before :- font colur #3d85c6 in all posts

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