Here's the solution. I tested adding the following to main#primary and the display is correct:
max-width: 320px;
padding: 1rem;
You're focusing on the wrong elements by focusing on Formidable and not fixing the page in general. Your media queries should adjust main#primary.
Where do I add this code? I am a bit confused
Your theme is the problem. You have to add it to your theme's style sheet.
When you say theme, are you referring to WordPress theme or Formidable form style theme?
Also I am confused what the main#primary is?
You can probably add:
@media screen and (min-width: 600px) {
#primary {
max-width: 320px;
padding: 1rem;
}
}
To the Formidable > Styles > Custom CSS section if your WordPress theme doesn't have anywhere to add custom CSS (most do however). If you do add it to the Formidable custom CSS section you may need to add '!important' to both css rules to overide the default theme style.
Please login or Register to submit your answer
Which field? All of them?
You just need to isolate them in the CSS, look here: https://css-tricks.com/a-complete-guide-to-css-media-queries/
You can inspect your fields using the developer tools in chrome to get the field ids. For instance, Cutter is field_2w269.
You can customize your css for the width you set.
This is the code I am using but it isn't working
@media screen and (min-width: 600px) {
.field_2w269 {
width: 20px;
}
}
Don't I need the class name, not the ID's?