Solved

How can I edit code to adjust mobile display for Menu Sticky Bar Chart icon?

megawdyaaaa
Excursionist
42 2 0

Hi guys, can you please help me, how do I edit the code? What coding should I change to make the mobile display like this? so that it doesn't overlap with the WhatsApp button icon.

from this :

d.jpg

 

to this :

megawdyaaaa_0-1709783563565.png


I want the sticky bar menu when opened on the cellphone to be just a small box so it's positioned more to the left, and the position to the right of the WhatsApp button

megawdyaaaa_1-1709783698775.png

what coding should I add?




Accepted Solution (1)

PageFly-Oliver
Astronaut
878 190 171

This is an accepted solution.

Hi @megawdyaaaa ,

 

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file -> Save

 

<style>
@media(max-width:767px){
.btn.site-nav__thumb-button{
  width: 85% !important;
}
}

</style>

 

 

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 3 (3)

Dan-From-Ryviu
Shopify Partner
7678 1493 1496

Please add this code to do that 

.btn.site-nav__thumb-button {
width: calc(100% - 100px);
}

- Helpful? Like or Accept solution! or Buy me a coffee
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look
- Enjoy 1 month of Shopify for $1. Sign up now

megawdyaaaa
Excursionist
42 2 0

Can the box container size of the sticky bar and chart icon be shortened so it's not too long?

PageFly-Oliver
Astronaut
878 190 171

This is an accepted solution.

Hi @megawdyaaaa ,

 

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file -> Save

 

<style>
@media(max-width:767px){
.btn.site-nav__thumb-button{
  width: 85% !important;
}
}

</style>

 

 

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.