Displaying the Module Settings Mobile Icons on Hover

Written by Dan Mossop

A lot of the module options in the Divi Theme come with the ability to set different values on desktop, tablet and mobile screen widths. These options can be accessed by clicking on a mobile icon which sometimes appears to the right of the option. Some options show the icon by default. Others, range options in particular, don't show the icon by default. In fact they don't show it until you change the main (desktop) setting to something other than the default value.

In many cases this may be a minor inconvenience as you have to change a desktop value you may have been happy with (and later change it back) just to get to the mobile options. Or you may end up fielding support queries from confused clients and users who are unsure how to make their modules look different on mobiles.

Here's how to make save everyone a bit of hassle and have the mobile icons conveniently appear when you, or your clients, hover over the corresponding option.

But first, here's how it currently looks when you view / hover over an option set to the default value – note the lack of anything to indicate that there are mobile options available:

And here is what you'll see when hovering over the option, after applying the tip in this post:

Option 1: Enable mobile icons on hover using Divi Booster

From Divi Booster 2.6.6 onwards, there is an option to easily make the mobile icons show up on hover. You'll find it on the Divi Booster settings page at:

"Divi Builder > Standard Builder > Show mobile icon on hover in module settings"

It should apply to all modules, including 3rd party modules.

Option 2: Manually enable mobile icons on hover using PHP

If you're not using Divi Booster, you can use the following PHP code to manually display mobile settings icons on hover:
add_action('admin_head', 'dbc_admin_css');

function dbc_admin_css() { ?>
<style>
.et-pb-option:hover .et-pb-mobile-settings-toggle {
    padding: 0 8px !important;
    z-index: 1 !important;
    opacity: 1 !important;
}
.et-pb-option:hover .et-pb-mobile-settings-toggle:after {
    opacity: 0.9;
    -moz-animation: et_pb_slide_in_bottom .6s cubic-bezier(0.77,0,.175,1);
    -webkit-animation: et_pb_slide_in_bottom .6s cubic-bezier(0.77,0,.175,1);
    -o-animation: et_pb_slide_in_bottom .6s cubic-bezier(0.77,0,.175,1);
    animation: et_pb_slide_in_bottom .6s cubic-bezier(0.77,0,.175,1);
}
</style>
<?php 
}

Want get more out of Divi?

Hundreds of new features for Divi
in one easy-to-use plugin

2 Comments

  1. This article refers to Divi Booster 2.6.6, but 2.6.5 is the latest I find available.

    Reply
    • Hi, I put the post out slightly in advance of releasing the update itself. I've just released the v2.6.6 update, so you should be able to update via the WP plugins page and give the new feature a go. I hope that helps!

      Reply

Submit a Comment

Comments are manually moderated and approved at the time they are answered. A preview is shown while pending but may disappear if your are cookies cleared - don't worry though, the comment is still in the queue.

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

Easily Show Mobile Icons in Divi!

Effortlessly make mobile icons appear on hover in your Divi modules with Divi Booster. Simplify access to mobile settings and reduce confusion for your clients. No more unnecessary value changes just to toggle mobile views!

About Dan Mossop

Dan is a Scottish-born web developer, now living in Brisbane with his wife and son. He has been sharing tips and helping users with Divi since 2014. He created Divi Booster, the first Divi plugin, and continues to develop it along with 20+ other Divi plugins. Dan has a PhD in Computer Science, a background in web security and likes a lot of stuff, 

2 Comments

  1. This article refers to Divi Booster 2.6.6, but 2.6.5 is the latest I find available.

    Reply
    • Hi, I put the post out slightly in advance of releasing the update itself. I've just released the v2.6.6 update, so you should be able to update via the WP plugins page and give the new feature a go. I hope that helps!

      Reply

Submit a Comment

Comments are manually moderated and approved at the time they are answered. A preview is shown while pending but may disappear if your are cookies cleared - don't worry though, the comment is still in the queue.

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

We may earn a commission when you visit links on our website.

Latest Posts

Fade a Divi Image Module Edge into the Background

Want to create a stylish fade effect on your Divi image module—where one side fades smoothly into the background? With a bit of CSS, you can make any edge (or corner) of the image fade out: top, bottom, left, right, or even diagonally.Fade a Divi Image Module Edge...

Hide the Header and Footer in the Hello Elementor Theme

Removing the default header and footer from your Hello Elementor theme allows for a streamlined and distraction-free website design. This is especially useful when creating unique landing pages, full-width layouts, or custom headers and footers with a page builder. In...

Setting up the Divi Password Box Module

Setting up password protection on a page can help you control access to sensitive or private content in WordPress, allowing only authorized visitors to view certain sections. With the Divi Password Box module, you can replace the plain Divi password form with a fully...

Open Divi Social Media Icons in a New Tab

Ensuring your website's social media icons open in a new browser tab creates a seamless user experience and keeps visitors engaged with your site while allowing them to explore your social media presence. This approach prevents users from navigating away from your...

Set Hover Color for Menu Links in the Divi Menu Module

Customizing the hover color of menu links lets you enhance the user experience and maintain visual consistency with your website’s brand. By setting a specific hover color, you can guide visitors' attention and improve navigation feedback. In this guide we show you...

Random Posts