Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1082167

    I have two columns, I am trying to make the first column #f8f8f8f and the second column #ffffff. The second column is working, the first column is not.

    This is the css I am using:
    /* first column */
    .main_color tr td:nth-child(1) {
    background-color: #f8f8f8;
    text-align: left;
    }

    /* first column */
    .main_color tr td:nth-child(2) {
    background-color: #ffffff;
    text-align: left;
    }

    Any ideas of what would get the first column to work?

    Thank you.

    #1082454

    Hey Micheal0424,

    Thank you for contacting us.

    To have an alternate color table rows please copy the code provided in the documentation.

    Thank you for using Enfold.

    Best regards,
    Vinay

    #1082455

    Thank you, looking at doc now and will post what happens.

    • This reply was modified 5 years, 5 months ago by Micheal0424.
    #1082457

    It worked, thank you so much for the information! Greatly appreciated!!

    #1083215

    Hi Micheal0424,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.