• 0

NavBar Mobile Button - How to Remove "MENU" from Button


Question

Posted · Report post

On the mobile button for NavBar that opens the slideout menu how do I:

 

1) remove the word MENU from the button

 

2) replace the icon

 

I have inserted relavant code below...

 

<a class="nav-btn nav-btn-navbar mm-toggle" href="javascript:void(0)">

MENU
<i class="icon-reorder"></i>
</a>

Share this post


Link to post
Share on other sites

12 answers to this question

  • 0

Posted · Report post

This lets you change the word Menu from the mobile menu?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Is this in the Global Navbar option or the NavBar widget you drag into a section?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

When you delete the word MENU in the above referenced code in firebug it disappears....

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

NavBar Widget

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I noticed that NavBar removed from Pagelines store. Where can I find it ?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

bartok, put the name in here...

 

nav-name.jpg

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Im sorry I mean the navigation section app for mobile. It was in the store then disappeared.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

bartok, put the name in here...
 
nav-name.jpg


But what if I don't want any word to appear next to the icon? I just want the icon to show....

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Try changing the word MENU on line 298 of the section.php file within the navbar section.  That will change the default word to whatever you want it to be (in theory).  Haven't personally tested it though.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Try changing the word MENU on line 298 of the section.php file within the navbar section.  That will change the default word to whatever you want it to be (in theory).  Haven't personally tested it though.


Where are those files located?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Great question!  Are you using a child theme or editing DMS directly? Chances are you're editing directly in DMS.  I can tell you where to find it but remember that any time you update DMS you will lose your customizations.  A better option is to create a child theme and drag the section into the sections folder within the child theme.  Confusing, but by doing that you will protect your customizations and still be able to upgrade DMS.  

 

For editing directly in DMS you'll need access to your dms folder via FTP.  Then, go to the following file:

 

wp-content > themes > dms > sections > navbar > section.php

 

Have fun and let me know if it works!

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

To supplement the loss of customizations by editing core files, it also violates the terms of the license and can cause a cessation of support.  I strongly urge that no one edit core files.  If you copy a section to a child theme and edit it there, that's perfectly fine. 

 

We won't support the changes to core files.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now