How to change Mobile Menu Icon Color in Divi
The mobile menu icon or hamburger icon in Divi colour can be easily changed with the following CSS.
span.mobile_menu_bar:before {
color: #ffffff!important;
}
span.mobile_menu_bar:before {
color: #ffffff!important;
}
Center Sidebar Section Titles on DIVI
To have the sidebar section titles to be centered (not left aligned), add this css code in the custom css field of the theme options:
h4.widgettitle {
text-align: center;
}
h4.widgettitle {
text-align: center;
}
Custom hamburger icon including MENU with icon
This CSS snippet is written for the DIVI theme by Elegant Themes. To have another hamburger icon that includes custom text. Just a simple "menu" text beneath the hamburger icon. Add this in the custom css section in the theme options:
.mobile_menu_bar.mobile_menu_bar_toggle::after {
content: "Menu";
position: absolute;
top: 38px;
right: 2px;
font-size: 12px;
}
.mobile_menu_bar.mobile_menu_bar_toggle::after {
content: "Menu";
position: absolute;
top: 38px;
right: 2px;
font-size: 12px;
}
Add Yelp icon to the social media icons in DIVI
To add Yelp icon to the social media icons in DIVI, add the following code to includes/social_icons.php before </ul>:
<li class="et-social-icon et-social-yelp">
<a href="yelp link goes here" class="icon">
<span><?php esc_html_e( 'Yelp', 'Divi' ); ?></span>
</a>
</li>
then add the following code to custom css box in Divi>theme options:
<li class="et-social-icon et-social-yelp">
<a href="yelp link goes here" class="icon">
<span><?php esc_html_e( 'Yelp', 'Divi' ); ?></span>
</a>
</li>
then add the following code to custom css box in Divi>theme options:
.et-social-yelp a.icon:before { content: url("Yelp icon url here"); }
Add Whatsapp icon next to the phone icon in the DIVI primary header
To add the whatsapp icon next to the phone icon in the primary menu.
Please add the following code to includes/social_icons.php before </ul>:
<li class="et-social-icon et-social-whatsapp">
<a href="#" class="icon">
<span><?php esc_html_e( 'Whatsapp', 'Divi' ); ?></span>
</a>
</li>
then add the following code to custom css box in Divi>theme options:
.et-social-whatsapp a.icon:before { content: url("whatsapp icon url here"); }
Please add the following code to includes/social_icons.php before </ul>:
<li class="et-social-icon et-social-whatsapp">
<a href="#" class="icon">
<span><?php esc_html_e( 'Whatsapp', 'Divi' ); ?></span>
</a>
</li>
then add the following code to custom css box in Divi>theme options:
.et-social-whatsapp a.icon:before { content: url("whatsapp icon url here"); }
Increase pricing text size on WooCommerce products
Looking to increase the size of the pricing text on the woocommerce pages?
You can use the following CSS rule in your themes custom CSS:
You can use the following CSS rule in your themes custom CSS:
.woocommerce ul.products li.product .price, .woocommerce ul.products li.product .price del, .woocommerce-page ul.products li.product .price, .woocommerce-page ul.products li.product .price del {
font-size: 18px;
}
How to make DIVI people module the same height
Looking to make the People module the same size, even though the other box has less text compare to the other one like the picture below?
To correct this and make same height, in the row settings > design tab > set equalize column heights.
Then for each person module > advanced tab > custom css > main element window add the following:
height:100%;
This will produce the below:

Then for each person module > advanced tab > custom css > main element window add the following:
height:100%;
This will produce the below:

Subscribe to:
Posts
(Atom)
Tags
Blogger
(5)
buttons
(1)
css
(4)
divi
(118)
elegant themes
(45)
extra
(9)
fable
(1)
gravity forms
(11)
jQuery
(3)
ownCloud
(1)
ProtonMail
(3)
Reddit
(2)
responsive
(1)
tables
(1)
vanilla forums
(3)
whmcs
(3)
WooCommerce
(6)
wordpress
(44)
Top snippets
- DIVI menu text bold on hover
- How to remove the responsive functionality from Elegant Themes Exlorable
- Move secondary Menu in DIVI below the Primary Menu
- Disiable Mobile Menu from showing with DIVI theme
- Add Thin Colored Line Under Menu in DIVI
- Disable pause on hover for DIVI slider module
- How to center align the Gravity Forms submit button
- How to Disable All Animations in DIVI
- Integrating Gravity forms with DIVI
- Divi menu overlaps logo when scaled down

