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

Add a Visible Shadow to Divi Gallery Lightbox Arrows

Give the lightbox navigation arrows in your Divi galleries a stylish pop and improve their visibility by adding a shadow beneath the arrows. This quick guide will show you how to make your navigation arrows stand out against the lightbox overlay.Add a Visible Shadow...

Adjust Lightbox Arrow Size in Divi Gallery

Customize the size of the navigation arrows that appear in your gallery lightbox so they’re easier to see and aligned with your site’s design. Whether you want larger, more accessible controls or a subtler look, setting a precise arrow size creates a more polished...

Change Lightbox Arrow Color in the Divi Gallery Module

Make the lightbox navigation arrows in your Divi Gallery match your brand and stand out against your images by assigning a custom color. This improves visual consistency, enhances accessibility with better contrast, and elevates the overall browsing experience for...

Change the Divi Gallery Module Grid Image Scaling

Divi’s Gallery module offers a great way to showcase images, but it can sometimes stretch or crop them in unwanted ways. This article explains how to manage the module’s image scaling behavior to ensure your images are displayed at the correct size and aspect...

Set Custom CSS IDs for Individual Divi Accordion Items

Assigning unique CSS IDs to specific Divi Accordion items allows for precise control over styling, targeting, and linking within your page content. This ability is particularly useful when you want to apply custom designs or create anchor links to particular accordion...

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