-
AuthorPosts
-
May 23, 2020 at 12:07 pm #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?May 24, 2020 at 5:55 pm #1215833Hey Suze,
Could you please attach a mockup of what you’re trying to achieve?
Best regards,
VictoriaMay 24, 2020 at 10:50 pm #1215881Hi 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.May 25, 2020 at 4:30 am #1215930Hi,
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 ShannonMay 25, 2020 at 4:53 am #1215936Thank 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!May 25, 2020 at 6:08 am #1215963Hi,
The table spacing is based off the longest table cell. In this case the one in the middle.
Best regards,
Jordan ShannonMay 25, 2020 at 6:19 am #1215970Thanks 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;
}May 25, 2020 at 6:31 am #1215973Hi,
Sorry, I misunderstood. What you have there is fine!
Best regards,
Jordan ShannonMay 25, 2020 at 10:07 am #1216063Great – thanks Jordan. You can close the thread now thanks.
May 25, 2020 at 7:22 pm #1216251Hi ellamac,
We’re glad to hear that :)
Thanks for using Enfold and have a great day!Best regards,
Nikko -
AuthorPosts
- The topic ‘Table Font and Border Color’ is closed to new replies.
