[Plugin: Contact Form 7] Fixed width for fields in the sidebar
-
For those who have been looking to fix the width of the fields in the sidebar, I have figured it out.
First step= go to the CSS file for the plugin: /wp-content/plugins/contact-form-7/stylesheet.css
add this class: .sidebarInput { width: 250px; }
you can set the name and width to whatever you may need. you will use the class name in the next step.
Second step= go to the CF7 settings under “Tools” choose the form you wish to fix and add the class name to the fields that you want the width changed on. Mine looked like this:
<p>Your Name*
[text* your-name class:sidebarInput] </p><p>Your Email*
[email* your-email class:sidebarInput] </p>All done. Let me know if any of you have different results. I will see what I can do to help.
I am using WP 2.7.1 and the latest CF7 plugin.
- The topic ‘[Plugin: Contact Form 7] Fixed width for fields in the sidebar’ is closed to new replies.