This members-only tutorial provides the sample CSS to style a Gravity Forms form having an email address field.

We will set rounded corners for the email input field and submit buttons and move the submit button inside the email field.

Before:

After:

Step 1

Install and activate Gravity Forms.

Create a form having an Email field.

Step 2

Insert the form in your Page/Template either using a shortcode or the PHP function.

Here's the shortcode I used on my test site.

Step 3

Add a class of say, ts-form to the container in which the form is placed.

If you are using Oxygen, you would add this class to the Shortcode component.

Step 4

Add this CSS and tweak it to your needs:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($27/month).

Already a member? Log in below or here.

Need help implementing a tutorial in your site or want to hire me for custom work?

HIRE ME

Find the article helpful and wish to donate?

DONATE

Comments

For adding code blocks wrap the code in three backticks. Markdown should work.
Provide a URL of your site/webpage if something is not working.
magnifiercross
>
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
%d bloggers like this: