Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
I can't figure out what js library you're using to drive the 'megamenu' classes?
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
|
![thanks](/forums/Themes/cleanSlate/heart_small.png) 1 user thanked shaharyar for this useful post.
|
|
|
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
So why is it called 'megamenu' in the styles?
Does Superfish.js handle the conversion to hamburger menu when viewing on mobile? That's what we're trying to isolate.
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
megamenu class is theme-specific and is applying styles on the menu. It is not responsible for the menu generation on mobile view.
The mobile menu is simple bootstrap.
|
|
|
|
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
So to understand this correctly:
The menus are built using Superfish.js.
The megamenu CSS classes are used by Superfish.js to apply styles to the menu.
The mobile menu itself is created by bootstrap from the existing Superfish.js html
Did I get that right?
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
Yes, you understand it correctly. Quote:The megamenu CSS classes are used by Superfish.js to apply styles to the menu. The magemenu classes are used by the sample theme. You can see the styles in style.css Thanks
|
![thanks](/forums/Themes/cleanSlate/heart_small.png) 1 user thanked shaharyar for this useful post.
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close