Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #541377

    Hello
    I put on my site a table element, but I can not change the background color of the different columns.

    For example.

    The table is composed of 10 rows and 5 columns

    I wish I could change the background color of each column.

    it’s possible?

    #541620

    Hi tescioneangelo!

    Please turn on custom CSS field for ALB elements – kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and then edit your element give it a custom CSS class and then add following code to Quick CSS in Enfold theme options under General Styling tab

    .your-custom-class tr th:nth-child(1), .your-custom-class tr td:nth-child(1) {
        background: red;
    }
    .your-custom-class tr th:nth-child(2), .your-custom-class tr td:nth-child(2) {
        background: orange!important;
    }

    change the number for each column accordingly

    Regards,
    Yigit

    #541631

    perfect

    thk!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Change Table column color’ is closed to new replies.