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?
Hey Suze,
Could you please attach a mockup of what you’re trying to achieve?
Best regards,
Victoria
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.
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
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!
Hi,
The table spacing is based off the longest table cell. In this case the one in the middle.
Best regards,
Jordan Shannon
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;
}
Hi,
Sorry, I misunderstood. What you have there is fine!
Best regards,
Jordan Shannon
Great – thanks Jordan. You can close the thread now thanks.
Hi ellamac,
We’re glad to hear that :)
Thanks for using Enfold and have a great day!
Best regards,
Nikko