Tagged: , ,

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #403154

    i tried to change the font color on on the table i created manually, apparently i can’t change the font color using “span”, is there any way i can customize the font color?

    #403314

    Hey nikestars!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    td {
    color: red;
    }

    And if that does not work, please post the link to your website

    Best regards,
    Yigit

    #403317

    hi, that would cause the entire td font going red. i would like to color-highlight just some of the text

    #403325

    Hi!

    Can you please post the link to your page and point out the changes you would like to make?

    Regards,
    Yigit

    #403329
    This reply has been marked as private.
    #403330

    Hi!

    Which parts of the text would you like to highlight?
    You can use following code to display different color in each lines

    .main_color table caption, .main_color tr:nth-child(even), .main_color .pricing-table>li:nth-child(even) {
    color: red;
    }
    .main_color tr:nth-child(odd), .main_color .pricing-table>li:nth-child(odd), .main_color .pricing-extra {
    color: orange;
    }

    Regards,
    Yigit

    #403373
    This reply has been marked as private.
    #404045

    Hi!

    What if you add a custom css attribute to the span class. Something like this:

    <span class="awesome-font">TEXT HERE<span>
    

    You can then apply a custom color to that class:

    .awesome-font { color: red !important;}
    

    Try to use the code above without the !important attribute.

    Cheers!
    Ismael

    #404148

    ok that did the trick, albeit little bit tricky and more hassle :(

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Change font color on table’ is closed to new replies.