How to Remove Mouse Pointer on Hover for Menu Items with Submenu in Divi

When designing a website with the Divi theme in WordPress, you might encounter a situation where you want to create a menu item that doesn’t act as a clickable link, but instead, it should expand a submenu.

However, by default, WordPress requires you to provide a URL for menu items, even if you don’t want them to be actual links. This can lead to a confusing user experience. In this tutorial, we’ll show you how to remove the mouse pointer on hover for menu items with submenus in Divi, giving your website a cleaner and more user-friendly navigation.

Join +3 610 subscribers!

Disabling the Mouse Pointer on Hover For Menu Items with Submenu in Divi, Step by Step

  1. Log in to your WordPress dashboard.
  2. Navigate to Appearance » Menus
  3. Select the menu where you want to create a menu item without a clickable link
  4. Choose Custom Links on the left side to create a new menu item that doesn’t function as a link.
  5. In the URL field, you’ll notice that WordPress requires a valid URL. To bypass this, you can add a hash symbol (#).
  6. Add your Link Text, for example “About Us”
  7. Click the Add to Menu button
  8. Now click the small arrow icon ▼ on the right side of the Custom Link to edit it
  9. Remove the hash symbol (#) in the URL field (yes, this is suddenly possible)
  10. Save your settings by clicking the Save Menu button.

Now you have removed the link completely and the mouse pointer will not be displayed when hovering the Custom Link menu item.

Adding submenu items to your Custom Link

Let’s do the final touch.

  1. Drag and drop the newly added Custom Link menu item to the desired position in your menu structure.
  2. Drag and drop the desired submenu link(s) on top of the custom link. The submenu links should have a small indent.

Don’t forget to save your menu configuration by clicking the Save Menu button.

Preview in frontend and make sure to clear your cache if you can’t see the changes. When you hover over the newly added Custom Link menu item, you’ll notice that the mouse pointer no longer appears, and the menu item is not clickable because it doesn’t contain any link.

Removing the URL from WordPress parent menu items in Divi

Summary

By following these steps, you can create menu items with submenus in Divi that do not display a mouse pointer on hover, making it clear to your website visitors that these items are not clickable links. This simple tweak can help improve the user experience and make your website’s navigation more intuitive. Enjoy designing your user-friendly Divi menu!

That’s all for today!

I hope that you enjoyed this post. Subscribe to DiviMundo on YouTube and join our Facebook group for more crisp content on WordPress and web design.

👉 Related post: Six Tips for Better Mobile Menus In Divi

👉 Related post: Create Advanced Mobile Menus In Divi

👉 Free course: Create a website from scratch with Divi

Related posts

0 Comments

Submit a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Affiliate Disclaimer

All content on DiviMundo is funded by you – our beloved readers. Some of the links are affiliate links. This means that if you click on the link and purchase something, I will receive an affiliate commission. But it will never cost more for you. Thanks for your support!

Victor Duse, founder of DiviMundo