CMS Development

jessieshiels
Member

Form fields to fill more of the background area

Hello: I am working on the below form and was wondering if there is a simple way to have the form fields fill more of the background area.

Screen Shot 2018-06-06 at 12.02.24 PM.png

 

Currently I have the background set just in the content editor but I know how to do this in the CSS as well so I am open to all suggestions of how to make this work!

0 Upvotes
3 Replies 3
tjoyce
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Form fields to fill more of the background area

generally the form is set to a max width of 650px. You could set the following css .hs-form {max-width:100%;width:850px;}

You could also use this form designer to get CSS generated if you aren't familiar with the markup

0 Upvotes
jessieshiels
Member

Form fields to fill more of the background area

Would that be done here for the CSS or in the actual style sheet?Screen Shot 2018-06-06 at 1.13.02 PM.png

 

 

0 Upvotes
tjoyce
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Form fields to fill more of the background area

@jessieshiels

The first field in your screenshot is for class names not css definitions, so you might actually be breaking something by having CSS in that first field.

 

To answer your question aside from that, you would put 

 

.hs-form {max-width:100%;width:850px;}

in your styles.css or whatever stylesheet your landing page is using.

0 Upvotes