Kakapo
September 13, 2022, 8:19am
1
Hello can anyone assist me as you can see from the image above on the PC browser you can see the button.
But on the Mobile Browser the button isn’t there. How do i go about it to make the button appear on the mobile browser as well?
kindly assist.
Thank you so much
1 Like
suyash1
September 13, 2022, 8:48am
2
@Kakapo can you please share your website link?
suyash1
September 14, 2022, 4:13am
4
@Kakapo - the issue is that, on mobile your desktop navigation is hidden and this button is part of your desktop navigation, if we try to show it then desktop navigation will be visible on mobile making it look really bad
Kakapo
September 14, 2022, 5:08am
5
@suyash1
are you able to change the size of button on mobile and show it on mobile?
suyash1
September 14, 2022, 5:10am
6
@Kakapo - it is not about size, button is part of navigation, looks like that it was custom coded
Kakapo
September 14, 2022, 5:18am
7
@suyash1
i only added this code at site-nav.liquid file
are you able to help me fix the button for mobile?
suyash1
September 14, 2022, 5:19am
8
@Kakapo - you added to desktop navigation, add code to mobile navigation as well and it will work
Kakapo
September 14, 2022, 5:30am
9
@suyash1
I dont know where should i paste the code to. can you show me? sorry i am new in this.
suyash1
September 14, 2022, 5:31am
10
@Kakapo - can not show without seeing theme code, but the way you added code in navigation, please search mobile navigation which can be named like drawer, mobile menu etc and paste code in it.
Kakapo
September 14, 2022, 5:38am
11
@suyash1
{% unless linklists[section.settings.main_linklist] == blank %}
{% endunless %}
{% if section.settings.align_logo == 'center' %}
{% endif %}
where should i paste the code?
suyash1
September 14, 2022, 5:46am
12
@Kakapo - replace entire code with following code and check
{% unless linklists[section.settings.main_linklist] == blank %}
{% endunless %}
{% if section.settings.align_logo == 'center' %}
{% endif %}
Kakapo
September 14, 2022, 7:07am
13
@suyash1
yes the code works! But can i have the button on the main page instead of the dropdown menu?
where the red box is? thank you!