CSS issues to customize form fields
-
Hello,
I am working locally so unfortunately I cannot provide a link. I use Elementor and Ocean WP theme, and browse with Google Chrome. I am new to wp and CSS and to customize my newsletter form, I am running into 3 issues :
1- I changed font family and letter spacing inside name and email fields using costumized CSS (I don’t display label names) but it put the text off center so I used padding from my theme customizer (General options -> Forms(Input-textarea)) to recenter it. As a result, the cursor is not centered and is larger than the text. Maybe you could provide some CSS to affect the cursor ?
Here is the CSS I used :div.wpforms-container-full .wpforms-form input.wpforms-field-large, div.wpforms-container-full .wpforms-form select.wpforms-field-large, div.wpforms-container-full .wpforms-form .wpforms-field-row.wpforms-field-large {
font-family: “Arima Madurai” !important;
letter-spacing: 4px
}2- I want to change the text color displayed inside both fields but every code I found failed. I can change the color of the input through my theme customizer but it doesn’t affect what is displayed before someone fills them. I tried those codes :
div.wpforms-container-full .wpforms-form .wpforms-field-sublabel {
color: rgba(145,145,145,0.53)!important;
}div.wpforms-container-full .wpforms-form .wpforms-field-label?{
color: rgba(145,145,145,0.53)!important;
}div.wpforms-container-full .wpforms-form .wpforms-field-label-inline {
color: rgba(145,145,145,0.53)!important;
}None of them worked (I don’t know if I have the right target).
3- My submit button automatically grows when hovered in the theme customizing panel and makes the bottom section grow as well, but not in the Elementor panel, and in the Elementor panel the labels and * still show even though I checked not to display them from WPForms directly (but they don’t appear in customizer). I tried to make the growing disappear with this CSS but no luck either :
.div.wpforms-container-full .wpforms-form input[type=submit]:hover {
animation: none !important;
}If you can give me any help I would highly appreciate it, I am sure those are basic issues but I haven’t found my answers after hours of searching online. Thank you so much in advance.
- The topic ‘CSS issues to customize form fields’ is closed to new replies.