Codepen Blog
  • Home
  • About us
  • Contact us
Codepen Blog
  • Home
  • About us
  • Contact us
Wednesday, December 17, 2025
Top Posts
Top 10 AI Logo Generators in 2023 with the Majority Being...
Ultimate Guide to install and setup WordPress multisite
Upload WordPress From localhost to live server in 2024
Top 10 Best WordPress Themes for Woocommerce in 2024
Top 11 WordPress Mobile Plugin for Optimal Usage in 2024
The Ultimate Guide to Self-Hosted WordPress Website
SSH-ing into a Docker container: a step-by-step guide
Creating a Complete Homepage Using Divi AI – Step by Step...
How to use ftp or sftp server to transfer files in...
Top 5 hosting to WordPress Staging Site with plugins in 2024
SUBSCRIBE NEWSLETTERS
Codepen Blog
Codepen Blog
  • Contact us
Copyright 2021 - All Right Reserved
Blogs

Adding Labels Above the Fields in Divi’s Contact Form Module: A Step-by-Step Guide

by developershohel July 5, 2023
written by developershohel July 5, 2023 Pay Writer
384

“The Divi Contact Form Module serves as a convenient and user-friendly tool, allowing visitors to easily get in touch while providing you with valuable information. By default, the module displays field labels within the input fields, but if you prefer a customized design with labels positioned above the form fields, you can achieve this effortlessly through the implementation of CSS.

You Might Be Interested In
  • An Easy Way to Incorporate Social Media Icons into WordPress Menus
  • Step-by-step Guide: Crafting a Product Catalog in WordPress
  • Comparing Deno and Node.js: A Comprehensive Analysis of Two Runtimes
  • Get a FREE Category Page Template for Divi’s Poke Restaurant Layout Pack Today
  • Step-by-Step Guide: Adding Voice Search to Your Website
  • Writing a Blog Post Efficiently with Divi AI

Our goal is to transition from the default layout:

[Default Layout Image]

To the customized design:

[Customized Design Image]

To make this transformation, follow the step-by-step guide below:

1. **Enable Visual Builder:**
Go to the page containing the contact form and enable the Visual Builder.

2. **Access Page Settings:**
Expand the Divi toolbar at the bottom and click the gear icon to access page settings.

3. **Insert Custom CSS:**
Navigate to Advanced > Custom CSS and insert the following CSS code:

“`css
/* Display labels above form fields */
.et_pb_contact_form_label {
display: block;
color: transparent;
display: none;
}
“`

4. **Add Font Styling and Adjustments:**
Paste the CSS code into the Custom CSS box. To ensure proper font styling and eliminate duplicate titles above dropdown fields, add the following lines:

“`css
/* Additional styling for font and dropdown field title */
.et_pb_contact_form_dropdown .et_pb_contact_form_label {
display: block;
font-family: ‘Playfair Display’;
color: #E7E2BC;
font-size: 15pt;
font-style: italic;
margin-bottom: 15px;
}
“`

By following these steps, you will successfully achieve the desired result of having labels above the form fields.

**For Global Application:**
To apply this design across all contact forms on your website, incorporate the CSS code in one of the following locations:

1. Your child theme’s style.css stylesheet.
2. The Custom CSS block in Divi > Theme Options.
3. The Theme Customizer.

Congratulations! You have now mastered the technique to position labels above fields in Divi’s Contact Form Module. For further guidance and resources on styling the contact form module, explore our collection of tutorials.”

Pay Writer

Buy author a coffee

Pay Writer
Divi Contact Form ModuleDivi modulesDivi ResourcesDivi Tutorial
0 comments 0 FacebookTwitterPinterestEmail
developershohel

previous post
A Brief Guide to Rails Caching
next post
Popular Trends, Statistical Data, and Effective Practices

Related Posts

How to improve Website Performance & Speed Up...

February 20, 2024

10 Best WordPress Image Optimization Plugins in 2024

February 20, 2024

Top 5 hosting to WordPress Staging Site with...

December 29, 2023

Writing a Blog Post Using AI in WordPress...

August 20, 2023

10 Useful Ways to Utilize AI in WordPress

August 19, 2023

Ultimate Guide on How to Add 2FA Authentication...

August 18, 2023

Comparison of the Top 6 Best WooCommerce Shipping...

August 18, 2023

Top 7 Link Tracking URL Shorteners for WordPress

August 18, 2023

2 Simple Methods to Highlight Text in WordPress

August 18, 2023

Comparison of the Top 5 Managed MySQL Hosting...

August 17, 2023

Leave a Comment Cancel Reply

Save my name, email, and website in this browser for the next time I comment.

* By using this form you agree with the storage and handling of your data by this website.

Weather

New York
clear sky
67%
4.6km/h
0%
-1°C
0°
-5°
-1°
Wed

Recent Posts

  • How to improve Website Performance & Speed Up website

    February 20, 2024
  • 10 Best WordPress Image Optimization Plugins in 2024

    February 20, 2024
  • Top 10 Best WordPress Themes for Woocommerce in 2024

    January 1, 2024
  • How to use ftp or sftp server to transfer files in 2024

    December 30, 2023
  • Upload WordPress From localhost to live server in 2024

    December 30, 2023

STAY TUNED WITH US

Sign up for our newsletter to receive our latest blogs.

Get Best Web Hosting and Services for your Business

Hostinger

Hostinger

Bluehost

Bluehost

WP Engine

Name.com

Name.com

Resources

  • Developer Shohel
  • Url Shortener
  • All in One Online tools
  • Secure Cloud Storage
  • Books
  • Fashion Product
  • IT Blogger

Company

  • Privacy Policy
  • Refund Policy
  • Terms and Conditions
  • Cookie Policy
  • Contact us
  • About us

Most read

How to improve Website Performance & Speed Up website
February 20, 2024
10 Best WordPress Image Optimization Plugins in 2024
February 20, 2024
Top 10 Best WordPress Themes for Woocommerce in 2024
January 1, 2024
Codepen Blog | Top blogs for WordPress and Web Development
Facebook-f Twitter Instagram Linkedin Behance Github

@2024 – All Right Reserved. Designed and Developed by Developer Shohel

Codepen Blog
  • Home
  • About us
  • Contact us
Codepen Blog
  • Home
  • About us
  • Contact us
@2021 - All Right Reserved. Designed and Developed by PenciDesign

Read alsox

Avoid Falling Into the Trappings of Hustle...

June 29, 2023

Tech Beat with Namecheap – July 7,...

July 8, 2023

A Beginner’s Guide: Selling Photos Online in...

August 7, 2023
Sign In

Keep me signed in until I sign out

Forgot your password?

Do not have an account ? Register here

Password Recovery

A new password will be emailed to you.

Have received a new password? Login here

Register New Account

Have an account? Login here

Shopping Cart

Close

No products in the cart.

Return To Shop
Close