Form fields are extremely wide | Community
Skip to main content
Level 2
November 24, 2021
Solved

Form fields are extremely wide

  • November 24, 2021
  • 1 reply
  • 4464 views

I have tried everything, but my forms on my WordPress website are very wide. Any suggestions on how to go about fixing this?

Best answer by SanfordWhiteman

Where exactly can I find this within the Wordpress CSS code?


Open up the CSS file in an editor and then un-minimize it — it’s minimized, which makes it very hard to search. Then look for the part Jasbir is talking about.

 

You may not be able to make additions to that same CSS file, of course. But that’s OK, because you can add your own CSS file with style overrides to Marketo Design Studio, then reference that file in your page. This is the best way to manage form-specific styles.

1 reply

SanfordWhiteman
Level 10
November 24, 2021

We'd need much more information. Starting with a link to your page. And also what your intended layout is (so we don't have to define "very"!).

mhardyAuthor
Level 2
November 24, 2021

https://getinsite.io/

 

Are subscribe from at the bottom of our page.

 

the width of the form boxes are very large and I don't know if it is something in marketo or if its something our WordPress website doing

SanfordWhiteman
Level 10
November 24, 2021

It's because you have all kinds of styles in this external CSS file affecting form fields. Those styles should be tuned to either not apply to Marketo forms (make the selectors more specific) or make sure they understand the Marketo form DOM.