How to change the DIVI toggle menu item

This custom CSS code will make your toggle icon look better than the default.

Please open Module Settings > Advanced, give CSS Class custom-module in it and add the following code to Dashboard / Appearance / Customize / Additional CSS:


.custom-module .et_pb_toggle_title:before {
content: '+' !important;
font-family: unset !important;
}

.custom-module .et_pb_toggle_open .et_pb_toggle_title:before {
transform: rotate(45deg) !important;
}

0 comments:

Post a comment