-
AuthorPosts
-
March 3, 2022 at 11:32 am #1342982
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 haThis 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;
}March 3, 2022 at 11:43 am #1342984Oh, and I would also like the border to be black….
March 3, 2022 at 12:20 pm #1342988Actually, 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.
March 3, 2022 at 1:20 pm #1343002Hey,
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,
YigitMarch 3, 2022 at 1:41 pm #1343010Hi 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?
March 3, 2022 at 1:51 pm #1343011Hi,
Please add following code to Quick CSS field as well
.main_color.iconbox_top .iconbox_content { background-color: #fff; }Regards,
YigitMarch 3, 2022 at 2:02 pm #1343012Yay! All good!
Thank you so much for the quick and precise help!March 3, 2022 at 2:03 pm #1343013 -
AuthorPosts
- The topic ‘Table font and background styling’ is closed to new replies.
