Home / Admin / Adding a Background Image to Your Forms
Duplicate Snippet

Embed Snippet on Your Site

Adding a Background Image to Your Forms

With this snippet, it follows the tutorial listed inside the Adding a Background Image to Your Forms (see: https://wpforms.com/docs/how-to-add-a-background-image-in-wpforms/).

Remember to replace /path/wpforms-backdrop.png with the actual URL of your image.

100+
Code Preview
css
/* 
Adding a background image to your forms.
Original doc link: https://wpforms.com/docs/how-to-add-a-background-image-in-wpforms/
For support, please visit: https://www.facebook.com/groups/wpformsvip
*/
.wpf-custom-background {
     background-image: url(/path/wpforms-backdrop.png) !important;
     padding: 15px 35px !important;
     /*Padding is optional, but improves appearance when using a background image in your form.*/
}

Comments

Add a Comment