Skip to main content
Level 2
Nov 24, 2021 7:15 PM UTC
Solved

Form fields are extremely wide

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

SanfordWhiteman
SanfordWhitemanAccepted solution
User Group Leader
Nov 30, 2021 4:59 PM UTC

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.

8 replies

SanfordWhiteman
User Group Leader
User Group Leader
Nov 24, 2021 8:11 PM UTC

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"!).

Translate
mhardyAuthor
Level 2
Nov 24, 2021 8:53 PM UTC

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

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Nov 24, 2021 9:08 PM UTC

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.

Translate