Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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 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;
    }

    #1342984

    Oh, and I would also like the border to be black….

    #1342988

    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.

    #1343002

    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

    #1343010

    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?

    #1343011

    Hi,

    Please add following code to Quick CSS field as well

    
    .main_color.iconbox_top .iconbox_content {
      background-color: #fff;
    }
    

    Regards,
    Yigit

    #1343012

    Yay! All good!
    Thank you so much for the quick and precise help!

    #1343013

    Hi,

    You are welcome! Let us know if you have any other questions and enjoy the rest of your day :)

    Best regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Table font and background styling’ is closed to new replies.