(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

How to Create a Fixed Contact Form Corner Popup with Divi’s Sizing Options

Every week, we provide you with new and free Divi layout packs which you can use for your next project. For one of the layout packs, we also share a use case that’ll help you take your website to the next level.

This week, as part of our ongoing Divi design initiative, we’re going to show you how to add a fixed contact form corner popup to your page using Divi’s sizing options. This approach will help you set up a contact form that follows visitors through their stay on your website, without the need for an additional plugin!

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

fixed contact form

Mobile

fixed contact form

1. Upload Chiropractor Layout Pack Landing Page

Add New Page

Start by creating a new page. Once you’ve named the page and published it, switch over to Visual Builder.

fixed contact form

Upload Chiropractor Layout Pack Landing Page

Upload the Chiropractor Layout Pack landing page next. Although we’ll use this specific layout, you can make the technique work on any page you’re working on.

fixed contact form

2. Let’s Start Recreating!

Add New Section to Bottom of Page

We’re going to dedicate an entirely new section to the fixed contact form pop up on click. Add this section to the bottom of your page.

fixed contact form

Background Color

Open the section settings and use an entirely transparent background color. Later on this post, we’ll make the entire section fixed. Using a transparent background color will make sure everything that appears below the section container shows through.

  • Background Color: rgba(255,255,255,0)

fixed contact form

Sizing

Move on to the design tab and change the width of the section across different screen sizes.

  • Width: 37% (Desktop), 95% (Tablet), 100% (Phone)
  • Section Alignment: Right

fixed contact form

Spacing

Remove the default top padding next.

  • Top Padding: 0px

fixed contact form

CSS Class

We’ll need to give our new section a custom CSS class as well. Later on the post, we’ll use this CSS class to add some JQuery and CSS code.

  • CSS Class: section-open

fixed contact form

Default Z Index

To make sure the section appears on top of all page content, we’ll increase the section z index in the visibility settings.

  • Z Index: 99

fixed contact form

Hover Z Index

Add the same z index value on hover as well.

  • Z Index: 99

fixed contact form

Add Row #1

Column Structure

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

fixed contact form

Add Blurb Module

Leave Content Boxes Empty

The first and only module we need in this row is a Blurb Module. Make sure you leave the title and content boxes empty.

fixed contact form

Select Icon

Select an icon next.

fixed contact form

Background Color

Change the blurb background color too.

  • Background Color: #FFFFFF

fixed contact form

Icon Settings

Move on to the design tab and apply the following icon settings:

  • Icon Color: #ff5f24
  • Icon Placement: Top
  • Use Icon Font Size: Yes
  • Icon Font Size: 46px (Desktop), 30px (Tablet), 25px (Phone)

fixed contact form

Sizing

Modify the sizing settings across different screen sizes next.

  • Width: 140px (Desktop), 105px (Tablet), 80px (Phone)
  • Module Alignment: Right

fixed contact form

Spacing

We’ll also add some custom top and bottom padding values across different screen sizes.

  • Top Padding: 50px (Desktop), 35px (Tablet), 25px (Phone)
  • Bottom Padding: 20px (Desktop), 10px (Tablet), 0px (Phone)

fixed contact form

Border

To create a circular shape, we’ll need to add a high value to each one the corners in the border settings. We’re using ‘500px’.

fixed contact form

Box Shadow

We’ll also add a subtle box shadow to allow the circular shape to show up.

  • Box Shadow Blur Strength: 80px

fixed contact form

Animation

Open the animation settings next and remove the icon animation.

  • Icon Animation: No Animation

fixed contact form

CSS Class

Last but not least, add a CSS class to the Blurb Module. Later on this post, we’ll use this CSS class to make the click function work.

  • CSS Class: contact-open

fixed contact form

Add Row #2

Column Structure

On to the second row! Use the following column structure:

fixed contact form

Background Color

Without adding any modules yet, open the row settings and add a white background color.

  • Background Color: #FFFFFF

fixed contact form

Border

Add ’39px’ border radius to each one of the corners next.

fixed contact form

Box Shadow

And complete the row settings by adding a subtle box shadow.

  • Box Shadow Blur Strength: 80px

fixed contact form

Add Contact Form

Elements

The only module we need in this row is a Contact Form Module. Once you’ve added the module, disable the captcha in the elements settings.

  • Show Captcha: No

fixed contact form

Fields

Move on to the design tab and change the fields background color in the fields settings.

  • Fields Background Color: rgba(0,126,255,0.13)

fixed contact form

Button

Continue by styling the button.

  • Use Custom Styles for Button: Yes
  • Button Text Size: 16px
  • Button Text Color: #FFFFFF
  • Button Background Color: #ff5f24
  • Button Border Width: 2px
  • Button Border Color: rgba(0,0,0,0)
  • Button Border Radius: 0px
  • Button Font: Karla
  • Button Font Weight: Bold
  • Button Top Padding: 14px
  • Button Bottom Padding: 14px
  • Button Left Padding: 20px
  • Button Right Padding: 20px

fixed contact form

fixed contact form

fixed contact form

Spacing

And add some custom padding values.

  • Top Padding: 30px
  • Bottom Padding: 30px
  • Left Padding: 40px
  • Right Padding: 40px

fixed contact form

Add Code Module

Insert JQuery Code

Once you’ve completed the Contact Form Module, it’s time to make the click function work! Add a Code Module to the second row in the section and insert the following lines of JQuery code:

jQuery(function($){
$(".contact-open").click(function() {
 $('.section-open').toggleClass('section-open-active');
});
});

fixed contact form

Change Section Settings

Height

Continue by opening the section settings. Change the height across different screen sizes.

  • Height: 190px (Desktop), 140px (Tablet), 125px (Phone)

fixed contact form

Default Main Element

Add some custom CSS code to the main element of the section next to make it fixed to the bottom right corner.

bottom: 0;
right: 0;
position: fixed;

fixed contact form

Hover Main Element

Make sure you add the fixed position to the hover main element as well.

position: fixed;

fixed contact form

Add Custom CSS Code to Page

Open Page Settings

To complete the toggling effect, we’ll need to add a bit of CSS code to the page as well. Open the page settings.

fixed contact form

Add Custom CSS

Go to the advanced tab and add the following lines of CSS code:

.section-open-active {
height: auto;
}

fixed contact form

Preview

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

Desktop

fixed contact form

Mobile

fixed contact form

Final Thoughts

In this post, we’ve shown you how to add a fixed contact form to your pages using Divi’s sizing settings. You can make this approach work on any kind of website you’re building. This tutorial is part of our ongoing Divi design initiative, where we try to put something extra into your design toolbox each and every week. 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 How to Create a Fixed Contact Form Corner Popup with Divi’s Sizing Options 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.