Skip Navigation

[Resolved] Form Elements Styling Control

This support ticket is created 6 years, 3 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 6 years, 3 months ago.

Assisted by: Minesh.

Author
Posts
#1104347

Hello there. Good Afternoon.

How do I style the form elements? Elements such as Input, text area, form button, labels etc. I am able to apply padding, margins, background colors to the divs by giving a div id, but if I need to modify the elements with CSS, may I request for a link with an example or just a small example in your reply?

thank you

#1104537

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - we offer detailed Doc that illustrates how you can style your form fields.

Could you please have a look here:
=> https://toolset.com/documentation/user-guides/styling-cred-forms/#styling-form-elements

#1104538

Thanks Minesh but I have already looked at that link, am not able to find, how do I get to style the button, how do I change the inline text (placeholder text) color, how do I change the look of the radio buttons?

#1104576

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - for example:

To change the submit button background color:

input[type="submit"] {
background-color:red;
}

To change the placeholder text color:

input[name="post_title"]::-webkit-input-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: red;
    opacity: 1; /* Firefox */
}

=> hidden link
=> hidden link

Radio buttons has the class wpt-form-radio , which you can use to target it:
=> https://toolset.com/documentation/user-guides/styling-cred-forms/#set-of-radio-buttons