Happening now | Office Hours: Customizing Your Theme With Moeed | Ask your questions now!

Re: Symmetry Theme - hamburger menu on desktop?

Symmetry Theme - hamburger menu on desktop?

sbar
Shopify Partner
58 0 18

Hi all! Trying to switch my menu to show the hamburger menu on desktop - it shows on mobile by default but the only options in the theme editor are left, underneath, or center. Any ideas of what code I should enter to show the hamburger dropdown on desktops/computers? I'm using the Symmetry theme! https://themes.shopify.com/themes/symmetry/styles/beatnik 

Replies 13 (13)

suyash1
Shopify Partner
11058 1364 1745

@sbar - can you please share your website link?

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
sbar
Shopify Partner
58 0 18

Hi - thanks for taking your time to reply! here is a link: https://wfg79srzy7x2x483-14978044.shopifypreview.com

suyash1
Shopify Partner
11058 1364 1745

@sbar - I checked it, but it is quite difficult to get it working on desktop using css as it needs combination of CSS as well as javascript working, you will need some expert developer  or contact theme support.

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
sbar
Shopify Partner
58 0 18

Hi, thank you so much. I've seen this doable with over themes + the free themes - any idea on what java I should use? I can handle the CSS!

KetanKumar
Shopify Partner
37634 3670 12166

@sbar 

do you mean like this?

KetanKumar_0-1654970320571.png

 

If helpful then please Like and Accept Solution. Partnership of your ️ Coffee Tips and my code can bring miracles.
Want to modify or custom changes on store Hire Me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
sbar
Shopify Partner
58 0 18

Yes!! 🙂 

KetanKumar
Shopify Partner
37634 3670 12166

@sbar 

It can be done by doing some code customization. please send me a personal message and we can discuss what you'd like

If helpful then please Like and Accept Solution. Partnership of your ️ Coffee Tips and my code can bring miracles.
Want to modify or custom changes on store Hire Me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
sbar
Shopify Partner
58 0 18

@KetanKumar yes! Any suggestions?

suyash1
Shopify Partner
11058 1364 1745

@sbar - bringing menu on desktop view is very easy, it can be done via css..... after that when you click on 3 lines then menu drawer should appear like it appears in mobile and should get closed after 'x' button is clicked.

 

This part will need javascript.

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
sbar
Shopify Partner
58 0 18

Do you have an idea of what java is needed?

sbar
Shopify Partner
58 0 18

I got the CSS down, but can I edit the current javascript or do I have to write something new? The current to enable/disable the mobile nav is:


$(document).on('click', '.mobile-nav-toggle', function (e) {
e.preventDefault();
if ($('body').hasClass('enable-mobile-nav-transition')) {
// hide nav
$('body').removeClass('reveal-mobile-nav reveal-mobile-nav--revealed');
setTimeout(function () {
$('body').removeClass('enable-mobile-nav-transition');
}, 750);
} else {
// show nav
theme.openMobileNav();
}
});

theme.openMobileNav = function () {
$('body').addClass('enable-mobile-nav-transition');
setTimeout(function () {
$('body').addClass('reveal-mobile-nav');

KetanKumar
Shopify Partner
37634 3670 12166

@sbar 

can you try this code

$(document).on('click', '.mobile-nav-toggle', function (e) {
e.preventDefault();
if ($('body').hasClass('enable-mobile-nav-transition')) {
// hide nav
$('body').removeClass('reveal-mobile-nav reveal-mobile-nav--revealed');
setTimeout(function () {
$('body').removeClass('enable-mobile-nav-transition');
}, 5000);
} else {
// show nav
theme.openMobileNav();
}
});

theme.openMobileNav = function () {
$('body').addClass('enable-mobile-nav-transition');
setTimeout(function () {
$('body').addClass('reveal-mobile-nav');
If helpful then please Like and Accept Solution. Partnership of your ️ Coffee Tips and my code can bring miracles.
Want to modify or custom changes on store Hire Me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
sbar
Shopify Partner
58 0 18

Thank you so much! but That unfortunately doesn't work - unless my CSS is incorrect?