Code Snippet


Divi Version: 2.4+

  • Difficulty

Add Dividers Between Widgets

The code below will create dividers between each widget or section of your sidebar, giving your site a more organized feel. You can modify the height and color of the borders by changing the values right the beginning.
#sidebar .et_pb_widget {
border-bottom: 1px solid #ddd;
padding-bottom: 20px;
margin-bottom: 20px;
#sidebar .et_pb_widget:last-of-type {