Hi I want my tables to NOT have alternate background and fot-color
I tried to fix the css myself, but it does not seem to work, ha ha
This is what I have
/*—————————————-
// CSS – Table row bg
//————————————–*/
/* Alternate row color */
#top .avia-table tr:nth-child(odd)
{
background: #ffffff !important;
}
#top .avia-table tr:nth-child(even)
{
background: #ffffff !important;
}
.top .avia-table > li{
color: #000 !important;
}
.main_color .avia-table > li:nth-child(2n) {
color: #000 !important;
}
Oh, and I would also like the border to be black….
Actually, my articular problem is that I have the table inside an icon box and I have tried all the css solutions you guys have given in the forum, but can’t seem to fix it.
Hey,
Thanks for contacting us!
Please add following code to Quick CSS field in Enfold theme options > General Styling tab
.main_color tr:nth-child(2n+1), .main_color .pricing-table > li:nth-child(2n+1), .main_color .pricing-extra {
background: #fff;
}
After adding the code, please disable CSS file merging and compression in Enfold theme options > Performance tab, save theme options and re-enable it :)
Best regards,
Yigit
Hi Yigit
Thanks for the help. Now it works in tables (I think), I still have the problem with the table being inside the icon box (Icon box background is grey, and I cannot seem to change it).
Should I open a new thread for this?
Hi,
Please add following code to Quick CSS field as well
.main_color.iconbox_top .iconbox_content {
background-color: #fff;
}
Regards,
Yigit
Yay! All good!
Thank you so much for the quick and precise help!