Alfred Crombez
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Contact form field widthI had the same problem after upgrading Jetpack. Apparently the contact form is missing the styles for the form. I solved it by adding the styles to the Custom CSS:
/* Welcome to Custom CSS! CSS (Cascading Style Sheets) is a kind of code that tells the browser how to render a web page. You may delete these comments and get started with your customizations. By default, your stylesheet will be loaded after the theme stylesheets, which means that your rules can take precedence and override the theme CSS rules. Just write here what you want to change, you don't need to copy all your theme's stylesheet content. */ .contact-form .clear-form { clear: both; } .contact-form input[type='text'], .contact-form input[type='email'] { width: 300px; margin-bottom: 13px; } .contact-form select { margin-bottom: 13px; } .contact-form textarea { height: 200px; width: 80%; float: none; margin-bottom: 13px; } .contact-form input[type='radio'], .contact-form input[type='checkbox'] { float: none; margin-bottom: 13px; } .contact-form label { margin-bottom: 3px; float: none; font-weight: bold; display: block; } .contact-form label.checkbox, .contact-form label.radio { margin-bottom: 3px; float: none; font-weight: bold; display: inline-block; } .contact-form label span { color: #AAA; margin-left: 4px; font-weight: normal; } .form-errors .form-error-message { color: red; }
You can see the result at https://goalfredportal.azurewebsites.net/contact/
Viewing 1 replies (of 1 total)