-
AuthorPosts
-
January 17, 2023 at 9:16 pm #1392914
hello
here: https://jmcwebdesign.nl/jetcrone2/tarieven/
the table…the text is not readable…
is it possible to make it black
or, for example, one row black , second grey, third again black, etcbest regards, jelle vanhijfte
January 18, 2023 at 3:00 am #1393830Hi jeel147,
The colors from the table are fetched from Enfold > General Styling > Main Content’s Main Content font color and Main Content secondary font color
You can change them however it will also affect other elements, to make sure it only affects the table, I have added the CSS code below to Enfold > General Styling > Quick CSS:.main_color tr { color: black; } .main_color tr:nth-child(even) { color: gray; }Please review your site.
Best regards,
NikkoJanuary 18, 2023 at 2:09 pm #1393910Hello Nikko, thanks , that worked well!
i tried to change the border- color as well, but it does not do anything, even after clearing cache or adding !important
code seems alright, or not?.main_color tr { color: #000000; background-color:#ebebeb; border-color: #ebebeb!important; } .main_color tr:nth-child(even) { color: #666666; background-color:#ebebeb; border-color: #ebebeb!important; }January 18, 2023 at 3:41 pm #1393932Hi,
I added following code to bottom of Quick CSS field
/* Change border color of tables */ .main_color td { border-color: #ebebeb; }Please review your website :)
Best regards,
YigitJanuary 18, 2023 at 8:48 pm #1393995Hello, thats perfect, thanks, you can close this one!
best regards, jelleJanuary 18, 2023 at 9:03 pm #1394001 -
AuthorPosts
- The topic ‘change table text color’ is closed to new replies.
