Button title in Dropdown Menu

Issues related to hyperlinks and web site navigation.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/links.html
Post Reply
armin_bl
 
 
Posts: 2
Joined: Tue Apr 18, 2017 8:07 pm

Button title in Dropdown Menu

Post by armin_bl »

Hi,
is there a way to change the title of the button from Hamburger Menu in the Dropdown Menu?
I'm using the latest V18.

Standard in generated code is:
<button title="Hamburger Menu" type="button" class="navbar-toggle" data-bs-toggle="collapse" data-bs-target=".DropdownMenu1-navbar-collapse">

Because I don't want this standard-text to appear when hovering the button, I would like to change the title for example to "Main Menu" or something like that, but I did not find any possibility in Webbuilder. Hopefully there is a possibility inside of Webbuilder which I only did not find yet. As workaround I edit the HTML directly and change the text to my needs, but this is not what I like to do.

Thanks in advance for any help.
Armin
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Button title in Dropdown Menu

Post by Pablo »

I'm sorry, there is currently no option to change this.
But you can post a suggestion in the 'Suggestions' section of this forum.
If more users find this useful then I will consider it for future development.
pmacdonald
 
 
Posts: 18
Joined: Wed Feb 23, 2022 7:03 pm

Re: Button title in Dropdown Menu

Post by pmacdonald »

Hi,

If you do not mind adding a little javascript you can do this by adding something like this between the <head> </head> tags.

<script>
window.onload=function(){
btnProp = document.getElementsByClassName("navbar-toggle");
btnProp[0].title='Great Menu';
}
</script>

Regards

Parker
armin_bl
 
 
Posts: 2
Joined: Tue Apr 18, 2017 8:07 pm

Re: Button title in Dropdown Menu

Post by armin_bl »

Hi Pablo, hi Parker,
thank you for your responses.

Indeed is the javascript a working solution. Thank you for this, I will keep it in mind.

But while trying different things, I found, that the Responsive Menu does most of what I needed.
Every Button has a unique title which is fully customizable and there is no standard text which cannot be changed within Webbuilder.

So I found a solution which is working for me.

Regards
Armin
Post Reply