Skip Navigation

[Resolved] How do I use my css styles for ALL elements across all forms

This support ticket is created 3 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 4 replies, has 2 voices.

Last updated by andersM 3 years, 9 months ago.

Assisted by: Shane.

Author
Posts
#2012689

How do I use my css styles for ALL elements across all forms.
Right now i have inserted some css styling for one of my Toolset forms. Now i would have to copy paste these styles into all the other toolset forms. How do i implement my css styling across all forms in toolset?

#2012725

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Anders,

Thank you for getting in touch.

You can use this plugin below and then add your css it to it. It applies the css globally so you won't need to add it to each form.
https://wordpress.org/plugins/custom-css-js/

Any css that you want to be applied globally to your site you can add it there.

Please let me know if this helps.
Thanks,
Shane

#2012731

Thanks! Can you tell me how i would write the css to target for example all input fields from Toolset forms?

#2014073

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Anders,

Generally you will use the .cred-form class to target any element of the form once you provide the relevant element. Using this class will also allow you to not target input fields that are Not apart of the form.

So an example would be.

.cred-form input{
/* my css */
}

Please let me know if this helps.
Thanks,
Shane

#2014655

My issue is resolved now. Thank you!