Remove the Divider Line Between Main Content and Sidebar in Divi

by | Last updated Oct 28, 2024 | Divi Tutorials

remove horizontal line

So, you are looking to remove the horizontal line dividing the main content and the sidebar on your Divi website? Well, you are at the right place because in this article, I’m going to explain exactly how to remove that line.

By default, Divi theme shows the dividing line. Good news is that the line can be removed using a CSS snippet.

The dividing line may occur in two cases, on the standard sidebar, or on the sidebar module.

How to Remove the Horizontal Divider Line Between Main Content and Sidebar from a Standard Sidebar

/*** Remove the divider line between content and sidebar ***/
#main-content .container:before {background: none;}

How to Remove the Horizontal Divider Line Between Main Content and Sidebar from a Divi Sidebar Module

/*** Remove the divider line between content and sidebar module ***/

.et_pb_widget_area_right { border-left:0 !important; }
.et_pb_widget_area_left { border-right:0 !important; }

That’s it for now. To be able to receive more of these tips. Subscribe to my newsletter.

Shop Divi Products

Buy nicely done Divi Layouts, Child themes, and extensions for your next Divi project.

Related Articles

How to Add Padding Around Featured Images in Divi’s Blog Module

How to Add Padding Around Featured Images in Divi’s Blog Module

If you're using the Divi theme for your WordPress website and want to customize the appearance of your blog posts page, one simple tweak you can make is adding padding around the featured images. This can help create a more visually appealing layout and better...

Divi Logo Guide: Everything You Need to Know

Divi Logo Guide: Everything You Need to Know

A professionally designed logo is a powerful branding asset that can leave a lasting impression on your website visitors. Research shows that a well-designed logo can boost consumer trust in a brand by an impressive 75%. But the question most people ask is – how do...

Leave a Comment

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

WP101 - FREE WordPress Tutorials

Enter your email address below to gain access to the FREE WordPress training.

You have Successfully Subscribed!

Pin It on Pinterest