If you set your Divi Menu centered, you will see on your Mobile by default “Select Page” before your menu bar. To replace “Select Page” with you custom text, use the code below, just replace the text you want to display!
Please let us know in the comments if everything worked as expected. We have tested this code with the Version: 4.4.8 of the Divi Theme.
If you think this code saved you time, we will be happy to receive a comment!
____
License: This snippet contains code from the Divi Theme, copyright https://elegantthemes.com, modified by Divi Space, June 19, 2020. Licensed under the GNU General Public License, no warranty; click here for details.
Child themes are incredibly important for the overall look, feel, and navigation of your website, so we encourage you to take the time to get to know the content. This will help your web design and development processes tremendously. That’s why we’ve made it super easy to build a child theme for Divi or Extra in seconds!
There are four ways you can add JavaScript or jQuery to a Divi website: use the code module, the Divi Theme Options console, enqueue scripts using the functions.php file, or using a plugin.
Divi users can choose between five different methods to add custom CSS to their websites. Read more about these various methods you can use to add custom CSS to your Divi theme, as well as better understand the pros and cons of each method.
Still works! Thank you!
Yes! Worked for me, thanks!
Works like a champ. Divi v 4.17.4
Wonderful, easy solution!! Thx!!!
where do I put this?
Follow instructions from this post: https://wpzone.co/tutorials/how-to-add-javascript-and-jquery-to-divi/
Thank you for the useful script! it is still working in Divi Version: 4.9.1
Great code snippet, easy to use your own language in the mobile menu when its a centered menu.