responsive menu outlining

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
ART
 
 
Posts: 237
Joined: Fri Sep 28, 2012 3:25 pm

responsive menu outlining

Post by ART »

I am using the responsive menu with material icons. When in hamburger mode the icons and text are not outlined straight (vertically).

Is there a way to achieve that? Or is there another menu which works better in this regard?
User avatar
Pablo
 
Posts: 21707
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: responsive menu outlining

Post by Pablo »

What exactly did you do?
ART
 
 
Posts: 237
Joined: Fri Sep 28, 2012 3:25 pm

Re: responsive menu outlining

Post by ART »

I have sent an example to you.
User avatar
Pablo
 
Posts: 21707
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: responsive menu outlining

Post by Pablo »

You can change the alignment by adding this code between the heads tags (in Page HTML):

Code: Select all

<style>
#wb_Menu ul li .svg-icon 
{
    vertical-align: middle;
}
</style>
ART
 
 
Posts: 237
Joined: Fri Sep 28, 2012 3:25 pm

Re: responsive menu outlining

Post by ART »

Unfortunately it does not seem to work (in preview)
User avatar
Pablo
 
Posts: 21707
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: responsive menu outlining

Post by Pablo »

Make sure the ID is correct.
ART
 
 
Posts: 237
Joined: Fri Sep 28, 2012 3:25 pm

Re: responsive menu outlining

Post by ART »

It is "Menu". I am testing it in the example i sent to you.
ART
 
 
Posts: 237
Joined: Fri Sep 28, 2012 3:25 pm

Re: responsive menu outlining

Post by ART »

Just for being clear: What i would like to achieve is that the icons line up vertically straight hence independent of the length of the text of the item.
User avatar
Pablo
 
Posts: 21707
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: responsive menu outlining

Post by Pablo »

I don't think I understand what you are trying to do.
Can you please be more specific?
ART
 
 
Posts: 237
Joined: Fri Sep 28, 2012 3:25 pm

Re: responsive menu outlining

Post by ART »

I'm sorry I couldn't make it clear so I'll try again.

This plays at breakpoints of e.g. 320 or 480, where the responsive menu enters hamburger mode and the menu items are unfolded vertically.

The icon is shifted further to the left for a long word than for a short word. And that does look pretty at all. The icons are not directly below each other, because the text of the menu items differs in length.
Last edited by ART on Sun Feb 09, 2020 9:53 pm, edited 1 time in total.
User avatar
Pablo
 
Posts: 21707
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: responsive menu outlining

Post by Pablo »

The alignment is set to 'center', so that is why the icons are not directly below each other.
ART
 
 
Posts: 237
Joined: Fri Sep 28, 2012 3:25 pm

Re: responsive menu outlining

Post by ART »

Which setting should i use? Layout alignment to left does not make a difference. More in the default view the menu is then shifted to the left horizontally.
User avatar
Pablo
 
Posts: 21707
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: responsive menu outlining

Post by Pablo »

The alignment of the mobile menu can be set in the Property Inspector.
ART
 
 
Posts: 237
Joined: Fri Sep 28, 2012 3:25 pm

Re: responsive menu outlining

Post by ART »

It does not make a difference. Actually this is how it was before i asked for help. It looks like thishttps://drive.google.com/file/d/1_mdqWM ... sp=sharing
User avatar
Pablo
 
Posts: 21707
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: responsive menu outlining

Post by Pablo »

The alignment of the mobile menu can be set in the Property Inspector.
ART
 
 
Posts: 237
Joined: Fri Sep 28, 2012 3:25 pm

Re: responsive menu outlining

Post by ART »

OK thanks. I was confused. I thought the object's properties would be the same in object properties and in the property inspector. Apparently not.
Post Reply