I’m trying to fine tune a pricing table and not having much luck. Tried a bunch of suggested options and can’t get things to behave how I want.
Essentially, I’d like the font color to be the same (the slightly darker one) in all the default row cells of a pricing table (note: not in the header or pricing row, I’ve got those the way I want) and eliminate the gray background that alternates in each row. Just want the standard white background and the slightly darker font (which in default setting is in the cells with gray background).
Any CSS code suggestions to accomplish this?
Hi tgdigitalsolutions!
Thank you for using Enfold.
Please use this on Quick CSS or custom.css:
.main_color table caption, .main_color tr:nth-child(even), .main_color .pricing-table>li:nth-child(even) {
color: #666666;
}
.main_color tr:nth-child(odd), .main_color .pricing-table>li:nth-child(odd), .main_color .pricing-extra {
background: #ffffff;
}
Regards,
Ismael
Thanks. The only problem with the code is it DOES affect the first two rows (the heading row and pricing row). I need something that will only affect all the default rows. Below is an example. First image is before applying the code you noted and the second is after. Any way to pinpoint just the default rows but leave the header and pricing row alone?