WordPress.org

Support

Support » Plugins and Hacks » HMS Testimonials » [Resolved] How to CSS testimonial submission fields

[Resolved] How to CSS testimonial submission fields

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff K

    @kreitje

    I use a table for the form to make it easy by default. The table has a class of hms-testimonials-form and then each row has its own class.

    Name has a class of name
    Website has a class of website
    Testimonial has a class of testimonial

    Custom fields have a class of cf-[tag name in lowercase letters]. So if the custom field was Email, it would be cf-email.

    Well, I was able just to change background color of the tr for testimonial and that’s fine, however if I would like to change de text field where user should enter his testimonial, how do I achieve that!?

    Thank you!

    Plugin Author Jeff K

    @kreitje

    You can use the name attribute in your css. I will add CSS classes in the next update or so to the form.

    .hms-testimonials-form input[name="hms_testimonials_name"] {
    /* your styles here */
    }
    .hms-testimonials-form input[name="hms_testimonials_website"] {
    /* your styles here */
    }
    
    .hms-testimonials-form textarea[name="hms_testimonials_testimonial"] {
    /* your styles here */
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] How to CSS testimonial submission fields’ is closed to new replies.
Skip to toolbar