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 From Divi Booster

Enable Automatic Looping for YouTube Videos in the Divi Video Module

Enabling automatic looping for YouTube videos in your Divi video module ensures that content plays seamlessly and continuously without interruption. This feature can enhance user engagement, highlight key information, or create dynamic visual effects on your website....

Hide Video Controls in Divi Video Module

Disabling YouTube video controls in the Divi Video Module helps create a seamless, distraction-free viewing experience for your site visitors. This approach is useful when you want full control over how your video content appears and is interacted with on the page, or...

Mute YouTube Videos by Default in the Divi Video Module

In the Divi Video Module, starting your YouTube videos muted by default can create a more user-friendly browsing experience on your webpage. It is particularly beneficial for reducing distractions, enhancing visitor engagement, and providing a seamless content preview...

Autoplay Videos in Divi Video Module

Enabling videos in your Divi video module to start playing automatically can enhance both the site's design and user engagement. To ensure full compatibility with browser requirements, such as Chrome's autoplay policy, it's often necessary to start your videos muted...

How to Add the Post Status in Divi's Dynamic Content

Divi's Dynamic Content feature is great for enhancing your post/page templates with post-specific information. While Divi includes an option to show information such as the Post Created Date using Dynamic Content, there is no equivalent option for the Post Status....

Random Divi Posts