(202) 750-1910
  • Facebook
  • X
  • Instagram
  • TikTok
  • Yelp
  • Google
  • Pinterest
  • WhatsApp
  • Threads
  • Facebook
  • X
  • Instagram
  • TikTok
  • Yelp
  • Google
  • Pinterest
  • WhatsApp
  • Threads
0 Items
Ask the Egghead, Inc.
  • Home
  • About
    • Reviews
    • Awards
    • Careers
    • Partners
    • Systems Status
  • Services
    • Website Design
    • Managed Hosting
    • Accessibility Compliance
    • Content Builder
    • Multi-Language Websites
    • SEO
    • Social Media
    • Premier Property Promotion
    • Reputation & Review Management Services
    • Low Code/No Code Solutions for MVP Development
    • Citation Builder
    • Pricing
    • Get A Quote
  • Portfolio
  • Website Audit
  • Blog
  • Invest Local
  • Contact
Select Page

Creating Multiple Targeted Contact Forms on Hover in One Design with Divi

The way you display contact forms on your website can definitely help increase conversion rates. Besides creating beautiful and user-friendly contact forms, you can also approach it in a more targeted way. In this post, we’ll show you how to create one design with multiple contact forms that appear depending on which service your visitors are interested in. You’ll be able to download the JSON file for free as well!

Let’s get to it.

Preview

Before we dive into the tutorial, let’s take a quick look at the outcome across different screen sizes.

Desktop

targeted contact forms

Mobile

targeted contact forms

Download The Targeted Contact Forms Layout for FREE

To lay your hands on the free targeted contact forms layout, you will first need to download it using the button below. To gain access to the download you will need to subscribe to our Divi Daily email list by using the form below. As a new subscriber, you will receive even more Divi goodness and a free Divi Layout pack every Monday! If you’re already on the list, simply enter your email address below and click download. You will not be “resubscribed” or receive extra emails.

Download the Files
.et_bloom .et_bloom_optin_1 .et_bloom_form_content { background-color: #4843d2 !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_container .et_bloom_form_header { background-color: #ffffff !important; } .et_bloom .et_bloom_optin_1 .carrot_edge .et_bloom_form_content:before { border-top-color: #ffffff !important; } .et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_right .et_bloom_form_content:before, .et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_left .et_bloom_form_content:before { border-top-color: transparent !important; border-left-color: #ffffff !important; }
@media only screen and ( max-width: 767px ) {.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_right .et_bloom_form_content:before, .et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_left .et_bloom_form_content:before { border-top-color: #ffffff !important; border-left-color: transparent !important; }
}.et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_fields i { color: #f92c8b !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_custom_field_radio i:before { background: #f92c8b !important; } .et_bloom .et_bloom_optin_1 .et_bloom_border_solid { border-color: #f7f9fb !important } .et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2, .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 strong { font-family: “Open Sans”, Helvetica, Arial, Lucida, sans-serif; }.et_bloom .et_bloom_optin_1 .et_bloom_form_container p, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p strong, .et_bloom .et_bloom_optin_1 .et_bloom_form_container form input, .et_bloom .et_bloom_optin_1 .et_bloom_form_container form button span { font-family: “Open Sans”, Helvetica, Arial, Lucida, sans-serif; } p.et_bloom_popup_input { padding-bottom: 0 !important;}

Download For Free

Download For Free

Join the Divi Newlsetter and we will email you a copy of the ultimate Divi Landing Page Layout Pack, plus tons of other amazing and free Divi resources, tips and tricks. Follow along and you will be a Divi master in no time. If you are already subscribed simply type in your email address below and click download to access the layout pack.

You have successfully subscribed. Please check your email address to confirm your subscription and get access to free weekly Divi layout packs!

Once you’ve uploaded the layout to your page, you’ll still have to add the CSS code to the page you’re working on. You can find the CSS code at the end of this tutorial.

Let’s Start Recreating!

Add Section #1

Open a new or existing page and add a new regular section.

targeted contact forms

Add New Row

Column Structure

Continue by adding a new row using the following column structure:

targeted contact forms

Add Text Module

Add H2 Content

Add a Text Module to the column with some H2 content of your choice.

targeted contact forms

H2 Text Settings

Move on to the design tab and change the H2 text settings accordingly:

  • Heading 2 Font Weight: Ultra Bold
  • Heading 2 Font Style: Uppercase
  • Heading 2 Text Alignment: Center
  • Heading 2 Text Color: #000000
  • Heading 2 Text Size: 6vw
  • Heading 2 Letter Spacing: -0.4vw
  • Heading 2 Line Height: 0.8em

targeted contact forms

Spacing

Add some custom top and bottom margin as well.

  • Top Margin: 2vw
  • Bottom Margin: 2vw

targeted contact forms

Add Section #2

Gradient Background

Add another section right below the previous one and apply the following gradient background (or any gradient background of your choice):

  • Color 1: #30fff1
  • Color 2: #4635ff
  • Gradient Direction: 110deg
  • End Position: 85%

targeted contact forms

Top Divider

Move on to the design tab and add a top divider.

  • Divider Style: Find in List
  • Divider Arrangement: Underneath Section Content

targeted contact forms

Bottom Divider

Add a bottom divider as well.

  • Divider Style: Find in List
  • Divider Arrangement: Underneath Section Content

targeted contact forms

Sizing

Change the height in the sizing settings next.

  • Height: 200px

targeted contact forms

Spacing

Add some custom spacing settings next.

  • Bottom Margin: 30vw (Desktop), 45vw (Tablet), 200vw (Phone)
  • Top Padding: 0vw
  • Bottom Padding: 0vw

targeted contact forms

CSS Class

Later on the post, we’re going to add some CSS code to make the effect work. In preparation for that, we’ll add a CSS class to the section.

  • CSS Class: contact-section

targeted contact forms

Add New Row

Column Structure

Continue by adding a new row using the following column structure:

targeted contact forms

Overflow

Open the row settings and hide the overflows.

  • Horizontal Overflow: Hidden
  • Vertical Overflow: Hidden

targeted contact forms

Transitions

Remove the transition duration as well.

  • Transition Duration: 0ms

targeted contact forms

Add Blurb Module

Add Title to Content Box

Time to start adding modules! Add a Blurb Module and enter a title of your choice that represents one of your services.

targeted contact forms

Select Icon

Select an icon next.

targeted contact forms

Default Background Color

Continue by adding a default background color.

  • Background Color: #ffffff

targeted contact forms

Hover Background Color

Change the background color on hover.

  • Background Color: #000000

targeted contact forms

Default Icon Settings

Move on to the design tab and change the icon settings accordingly:

  • Icon Color: #000000
  • Use Icon Font Size: Yes
  • Icon Font Size: 2.5vw (Desktop), 5vw (Tablet), 7vw (Phone)

targeted contact forms

Hover Icon Settings

Modify the icon color on hover.

  • Icon Color: #ffffff

targeted contact forms

Default Title Text Settings

Open the title text settings next and apply the following changes:

  • Title Font Weight: Ultra Bold
  • Title Font Style: Uppercase
  • Title Text Alignment: Center
  • Title Text Color: #000000
  • Title Text Size: 0.9vw (Desktop), 1.8vw (Tablet), 3vw (Phone)

targeted contact forms

Hover Title Text Settings

Change the title text color on hover.

  • Title Text Color: #ffffff

targeted contact forms

Sizing

Modify the width across different screen sizes next.

  • Width: 10vw (Desktop), 17vw (Tablet), 30vw (Phone)
  • Module Alignment: Center

targeted contact forms

Spacing

And add some custom margin and padding values to the spacing settings.

  • Top Margin: 4vw
  • Bottom Margin: 4vw
  • Top Padding: 2vw (Desktop), 3vw (Tablet), 6vw (Phone)
  • Bottom Padding: 2vw (Desktop), 3vw (Tablet), 6vw (Phone)

targeted contact forms

Border

We’re also turning the module into a circle by adding ’50vw’ to each one of the corners in the border settings.

targeted contact forms

Box Shadow

Add a box shadow as well.

targeted contact forms

Default Transform Scale

Move on to the transform settings and make sure the default transform scale values remain ‘100%’.

targeted contact forms

Hover Transform Scale

Change these values on hover.

  • Bottom: 120%
  • Right: 120%

targeted contact forms

Add Contact Form

Make Name & Email Fields Fullwidth

The second module we need in this row is a Contact Form Module. Once you’ve added the contact form, open the name and email fields and make them fullwidth.

  • Make Fullwidth: Yes

targeted contact forms

targeted contact forms

Remove Message Field & Insert Three Input Fields for Service-Specific Questions

Add three questions that apply to that specific service next.

targeted contact forms

Disable Captcha

Disable the captcha option as well.

  • Show Captcha: No

targeted contact forms

Fields Settings

Move on to the design tab and change the fields settings accordingly:

  • Fields Top Padding: 0.6vw (Desktop), 0.9vw (Tablet), 1.5vw (Phone)
  • Fields Bottom Padding: 0.6vw (Desktop), 0.9vw (Tablet), 1.5vw (Phone)
  • Fields Text Size: 0.8vw (Desktop), 1.6vw (Tablet), 2.3vw (Phone)

targeted contact forms

Button Settings

Change the appearance of the button next.

  • Use Custom Styles for Button: Yes
  • Button Text Size: 1vw (Desktop), 2vw (Tablet), 3vw (Phone)
  • Button Text Color: #ffffff
  • Button Background Color: #000000
  • Button Border Width: 0px
  • Button Font Weight: Ultra Bold
  • Button Font Style: Uppercase

targeted contact forms

targeted contact forms

Spacing

Add some padding values too.

  • Top Padding: 2vw
  • Bottom Padding: 2vw
  • Left Padding: 2vw
  • Right Padding: 2vw

targeted contact forms

Border Settings

Last but not least, go to the border settings and add ’10px’ to each one of the corners.

targeted contact forms

Clone Row Three Times

Once you’ve completed the first row, you can go ahead and clone it three times.

targeted contact forms

Change Blurb Content & Icon for Each Duplicate Row

Make sure you change the blurb title and icon for each duplicate.

targeted contact forms

targeted contact forms

Change Service-Specific Questions for Each Duplicate Row

Modify the contact form’s specific questions as well.

targeted contact forms

Additional Row Settings

Default Height

Open the first row’s settings once again, go to the sizing settings and change the height across different screen sizes.

  • Height: 18vw (Desktop), 27vw (Tablet), 38vw (Phone)

targeted contact forms

Hover Height

Bring back the height to auto on hover.

  • Height: auto

targeted contact forms

Extend Row Sizing Settings to All Rows in Section

Once you’ve modified the sizing settings for the first row, you can extend the settings to all the rows throughout the section.

targeted contact forms

targeted contact forms

Place Rows Next to Each Other on Desktop & Tablet

Open Page Settings

Last but not least, we’re going to place all four rows next to each other on tablet and desktop. To do that, open the page settings.

targeted contact forms

Insert Custom CSS

Move on to the custom CSS box and add the following lines of CSS Code:

@media (min-width: 767px) {
.contact-section {
display: grid;
grid-template-columns: 25% 25% 25% 25%;
}
}

targeted contact forms

Preview

Now that we’ve gone through all the steps, let’s take a final look at the outcome across different screen sizes.

Desktop

targeted contact forms

Mobile

targeted contact forms

Final Thoughts

In this post, we’ve shown you how to create multiple targeted contact forms in one design. This is a great way to learn more about your visitors and what particular service they’re interested in. If you have any questions or suggestions, make sure you leave a comment in the comment section below!

If you’re eager to learn more about Divi and get more Divi freebies, make sure you subscribe to our email newsletter and YouTube channel so you’ll always be one of the first people to know and get benefits from this free content.

The post Creating Multiple Targeted Contact Forms on Hover in One Design with Divi appeared first on Elegant Themes Blog.

Recent Posts

  • Your Website Is More Than Just Curb Appeal

    Your Website Is More Than Just Curb Appeal

  • Top Website Mistakes That Hurt Your Business

    Top Website Mistakes That Hurt Your Business

  • Plugin of the Week: WPForms Made Simple

    Plugin of the Week: WPForms Made Simple

  • SEO Simplified: Boost Your Website Without Tech Skills

    SEO Simplified: Boost Your Website Without Tech Skills

  • Find Your Perfect Website Style

    Find Your Perfect Website Style

  • SEO Promises That Should Scare You

    SEO Promises That Should Scare You

  • Design Mistakes That Destroy Your Credibility

    Design Mistakes That Destroy Your Credibility

  • Fire Your Developer If This Is Happening

    Fire Your Developer If This Is Happening

  • Website Glow-Ups: Before and After a Redesign

    Website Glow-Ups: Before and After a Redesign

  • Your Website Should Work as Hard as You Do

    Your Website Should Work as Hard as You Do

Awards

  • Clutch Top Web Design Company Medical Websites 2024

    Clutch Top Web Design Company Medical Websites 2024

  • Clutch Top Web Design Company Government Websites 2024

    Clutch Top Web Design Company Government Websites 2024

  • UpCity National Excellence Winner 2024

    UpCity National Excellence Winner 2024

  • UpCity National Excellence Winner 2023

    UpCity National Excellence Winner 2023

  • UpCity National Excellence Winner 2022

    UpCity National Excellence Winner 2022

  • UpCity Local Excellence Washington DC 2021

    UpCity Local Excellence Washington DC 2021

  • UpCity Top Designer 2021

    UpCity Top Designer 2021

  • DesignRush Accredited Agency 2021

    DesignRush Accredited Agency 2021

  • Clutch Top Company Washington DC 2021

    Clutch Top Company Washington DC 2021

  • Digital.com Best SEO Firms Washington DC 2021

    Digital.com Best SEO Firms Washington DC 2021

Ask-the-Egghead-logo

Capability Statement

View/Download

Ask the Egghead

200 Massachusetts Ave NW
8th Floor Suite 133
Washington, DC 20001
(202) 750-1910

Ask the Egghead

399 Boylston Street
Suite 685
Boston, MA 02116
(617) 221-8300

Quick Links

  • Website Design
  • Social Media
  • SEO
  • Managed Hosting
  • Privacy Policy
  • Investors
  • Facebook
  • X
  • Instagram
Designed by The Egghead © 2015-2025 Ask the Egghead, Inc.