Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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, etc

    best regards, jelle vanhijfte

    #1393830

    Hi 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,
    Nikko

    #1393910

    Hello 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;
    }
    
    • This reply was modified 1 year, 8 months ago by jeel147.
    • This reply was modified 1 year, 8 months ago by jeel147.
    #1393932

    Hi,

    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,
    Yigit

    #1393995

    Hello, thats perfect, thanks, you can close this one!
    best regards, jelle

    #1394001

    Hi Jelle,

    Great! Let us know if you have any other questions and enjoy the rest of your day :)

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘change table text color’ is closed to new replies.