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 *.

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

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!

Latest Posts

Customize Lightbox Title Styling in the Divi Gallery Module

Adjust the appearance of the lightbox title that appears when visitors open images from a Divi Gallery to align with your brand and improve readability. Refining the title’s color, size, and weight enhances visual hierarchy, accessibility, and overall polish. In this...

Center the Lightbox Image Count in the Divi Gallery Module

Centering the image count in a gallery lightbox creates a cleaner, more balanced presentation and makes it easier for visitors to see where they are in the image set. This simple visual tweak can enhance readability, especially with larger images and longer captions,...

Style the Divi Gallery Module Lightbox Image Count

Tailor the appearance of the image counter in the Divi Gallery module lightbox to match your brand and improve readability. By customizing the counter’s color and typography, you ensure it displays clearly and suits your design. In this guide we show you how to style...

Customize the Lightbox Image Background Color in the Divi Gallery

Control the color that appears behind your images when users open in the gallery lightbox, including support for semi-transparent hues. This helps improve contrast for transparent images, align the experience with your brand palette, and create a more polished viewing...

Style the Divi Gallery Lightbox Close Button

Give your gallery lightbox a clear, on-brand close button by customizing its color and size. This improves visibility and usability against varying image backgrounds and ensures the button renders at full opacity for a consistent experience. In this guide we show you...

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 *.