Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1215429

    Hi there, I would like to change the color of all text in all tables as well as the entire table border color.
    Is there some code I could use to do this please?

    #1215833

    Hey Suze,

    Could you please attach a mockup of what you’re trying to achieve?

    Best regards,
    Victoria

    #1215881

    Hi Victoria, Thanks for your assitance!
    I’m wanting the font colour to be black and the table lines/borders to also be black as per the bottom two tables in the mockup link.

    #1215930

    Hi,

    Add this to quick css:

    .avia-table.avia-data-table.avia-table-4 td,
    .avia-table.avia-data-table.avia-table-3 td{
    color:#000!important;
    }
    
    .main_color td{
    border-color:#000!important;
    }

    Best regards,
    Jordan Shannon

    #1215936

    Thank you Jordan, that worked perfectly!
    While on the subject of tables – are you able to supply some css to reduce the text line spacing in the table please?
    I want to reduce the line spacing a bit. Many many thanks!

    #1215963

    Hi,

    The table spacing is based off the longest table cell. In this case the one in the middle.

    Best regards,
    Jordan Shannon

    #1215970

    Thanks Jordan, I was trying to refer to the ‘leading’ or ‘line-height’. But have dropped some CSS in which seems to have worked.
    Please do let me know if you have a better suggestion though : )

    .avia-table.avia-data-table.avia-table-5 td{
    color:#000!important;
    line-height: 1.3;
    }

    #1215973

    Hi,

    Sorry, I misunderstood. What you have there is fine!

    Best regards,
    Jordan Shannon

    #1216063

    Great – thanks Jordan. You can close the thread now thanks.

    #1216251

    Hi ellamac,

    We’re glad to hear that :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Table Font and Border Color’ is closed to new replies.