Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #438296

    We are using both data tables and pricing tables here:

    http://pointeroyalegolf.net/course/rates/

    On the data table only, we would like to keep the “heading row” like it is now, then the alternating “default rows” would be white background with gold text to match the first default row. Would there be a quick css input I could do to accomplish this? Thank you.

    #438605

    Hey hobart!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .main_color tr:nth-child(odd), .main_color .pricing-table>li:nth-child(odd), .main_color .pricing-extra {
      background: white;
      color: #c29445;
    }

    Regards,
    Yigit

    #451685

    Thanks Yigit! This gets me really close. Is there a way now to keep just the HEADING ROW a different color background? This made all rows white.

    #451688

    Hi!

    Please add following code to Quick CSS as well

    tr.avia-heading-row {
      background-color: #f2f2f2!important;
    }

    Regards,
    Yigit

    #451690

    Perfect! Thank you.

    #451909

    Hi!

    Great, glad we could help :)

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Make alternating rows in Data Table the same’ is closed to new replies.