GOOD MORNING,
I NEED TO KNOW THE CSS CLASS OF TABLE TAG.
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
Ok, thank you very much.
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.
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
Thank you for your help, but it doesn’t work.
Hi!
I’ve edited the code in my previous reply. Can you try that instead please?
Best regards,
Sarah