Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #801928

    GOOD MORNING,
    I NEED TO KNOW THE CSS CLASS OF TABLE TAG.

    #801940

    Hey eulogic,

    Our tables have the class avia-table. If you need help customizing the cell colors, maybe this thread or this one can help you. If you need further help, please give us a link to the page you’re working on, as well as the specific changes you would like to make.

    Best regards,
    Sarah

    #801943

    Ok, thank you very much.

    #801946

    Sorry, but I don’t be able to do what i would. I’m using Contact Form 7. In order to divide the form into two sections, I’m using table tag . But there is some default setting wich transforms the background and the color of text. In the private content I’ve posted the link.

    • This reply was modified 7 years, 6 months ago by eulogic.
    #801953

    Hi,

    I see. The colors and font sizes are dictated by the settings in Enfold > General Styling.

    If you would like to change them, you can use this as basis:

    .main_color .wpcf7-form tr:nth-child(odd) {
       background-color:black !important;
       color: white !important;
    }
    .main_color .wpcf7-form tr:nth-child(even) {
       background-color:gold !important;
       color: black !important;
    }

    I’ve added the class wpcf7-form so that the code will not affect other tables outside of your contact form.

    Best regards,
    Sarah

    • This reply was modified 7 years, 6 months ago by Sarah.
    #801959

    Thank you for your help, but it doesn’t work.

    #801962

    Hi!

    I’ve edited the code in my previous reply. Can you try that instead please?
    Best regards,
    Sarah

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.