Icon size problem With User Collection On Panel Menu - not scalable

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
User avatar
amir2314
 
 
Posts: 318
Joined: Wed Aug 02, 2017 12:16 pm

Icon size problem With User Collection On Panel Menu - not scalable

Post by amir2314 »

Hi dear pablo .
.
I had issue with Icon Size on panel Menu. Panel Menu In user collection ( mode ) icon font library cant Read the Size of Icons !
.
all icons On User Collection Are not Scalable !
.
how can i fix This ?
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Icon size problem With User Collection On Panel Menu - not scalable

Post by Pablo »

What are the exact steps to reproduce this behavior?
Do you have an example project?
User avatar
amir2314
 
 
Posts: 318
Joined: Wed Aug 02, 2017 12:16 pm

Re: Icon size problem With User Collection On Panel Menu - not scalable

Post by amir2314 »

Pablo wrote: Tue Nov 29, 2022 8:42 pm What are the exact steps to reproduce this behavior?
Do you have an example project?
No i just add icon from another library And Added To User Collection And then Changed the Icon library to User Collection mode And Realized That Icon Size Not Working When The User Collection Selected its only Worked With Original Icon Library Selected
.
I tested In panel Menu And Other Menus And Realized That Icons On User Collcetion Cant Read The Custom Size on icon Menu Setting ... The Size is fixed And When I changed The Number Of size Noting Happend . Still There Without Size Change .
User avatar
crispy68
 
 
Posts: 2737
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Icon size problem With User Collection On Panel Menu - not scalable

Post by crispy68 »

I inserted a panel menu, added some icons to my user collection, chose the user collection as the icon library, inserted one of the icons as my menu button (aka hamburger icon) and it works for me. Adjusting the "Icon Size" in the style section correctly sizes the icon in workspace and preview.

What icons are you using and what icon library are they from?

This icon is from an iconfont I created (Boxicon - ghost) and as you can see it looks correct in workspace and preview:

Image
User avatar
amir2314
 
 
Posts: 318
Joined: Wed Aug 02, 2017 12:16 pm

Re: Icon size problem With User Collection On Panel Menu - not scalable

Post by amir2314 »

crispy68 wrote: Tue Nov 29, 2022 11:03 pm I inserted a panel menu, added some icons to my user collection, chose the user collection as the icon library, inserted one of the icons as my menu button (aka hamburger icon) and it works for me. Adjusting the "Icon Size" in the style section correctly sizes the icon in workspace and preview.

What icons are you using and what icon library are they from?

This icon is from an iconfont I created (Boxicon - ghost) and as you can see it looks correct in workspace and preview:

Image
No hambergur icon . I mean just icons from subjects or items you added in panel menu . When you choose icon from user collection thats not scalable with style tab on panel menu setting . Its only scale with original icon font library !
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Icon size problem With User Collection On Panel Menu - not scalable

Post by Pablo »

It works for me.

Please describe the exact steps to reproduce this behavior.
Do you have an example project?
User avatar
crispy68
 
 
Posts: 2737
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Icon size problem With User Collection On Panel Menu - not scalable

Post by crispy68 »

@Pablo,

I now know what he is referring to. For me it's just not User Collection but all icons libraries.

If you insert a panel menu, the default size for the icons that appear next to the menu links (not hamburger) is 16. For example, If I only change the icon size to 32 and preview, the icons do not increase in size. They only increase in size if you increase the font size. The size of the icon is same size as the font. Same is true if you increase the font size but decrease the icons size, it stays the same.

Here's something to look at Pablo. I noticed the icon size in the properties is being applied as the line-height of the <span> tag for the menu links rather than the size of the icon. The font size is being applied to both the <span> tag (text) and the icon which is why they are all the same height. It is very evident if you make the font size large and the icon size small and check the inspector.
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Icon size problem With User Collection On Panel Menu - not scalable

Post by Pablo »

It still works for me.
https://www.wysiwygwebbuilder.com/suppo ... -icon.html

Can you please share a DEMO project so I can see all settings?
User avatar
crispy68
 
 
Posts: 2737
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Icon size problem With User Collection On Panel Menu - not scalable

Post by crispy68 »

@Pablo,

It's not the icon for the panel menu button (that opens and closes the panel). It's the icons you add to the actual menu links themselves (when the panel is open).
User avatar
amir2314
 
 
Posts: 318
Joined: Wed Aug 02, 2017 12:16 pm

Re: Icon size problem With User Collection On Panel Menu - not scalable

Post by amir2314 »

Pablo wrote: Wed Nov 30, 2022 9:02 pm It still works for me.
https://www.wysiwygwebbuilder.com/suppo ... -icon.html

Can you please share a DEMO project so I can see all settings?
Try to change icon size ( inside Of Panel menu items )
.
Add icons from User collection only And try To Resize About item Icon Or Home item Icon Or other Icons In panel Menu Items. ( save icons from Other icon library To User collection )
Then try To resize the icon.
👇🏻
Set icon size from About item Icon to 100px . Its Not working
. Icons only can Resize Just In original Library not In user collection mode .
.
This problem is comon From Other Menus on wwb or thembel Button Or ...
User avatar
amir2314
 
 
Posts: 318
Joined: Wed Aug 02, 2017 12:16 pm

Re: Icon size problem With User Collection On Panel Menu - not scalable

Post by amir2314 »

@crispy68

Exactly . Font is large but icons stil Small . Icons cant resize to match with font Size . Its only just in User Collection but on original Library is ok .
User avatar
crispy68
 
 
Posts: 2737
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Icon size problem With User Collection On Panel Menu - not scalable

Post by crispy68 »

What other menus have you tried?

I don't see an issue with the themeable button or responsive menu. Those work ok for me.
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Icon size problem With User Collection On Panel Menu - not scalable

Post by Pablo »

This problem is common From Other Menus on wwb or thembel Button Or ...
Please share a DEMO project so I can see all your settings.

For further details about how to share a project file, please see this FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
Post Reply