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

Solved

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

megawdyaaaa
Excursionist
43 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
Shopify Partner
878 190 188

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
11754 2305 2488

Please add this code to do that 

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

- Helpful? Like & Accept solution! - Support me: Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

megawdyaaaa
Excursionist
43 2 0

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

PageFly-Oliver
Shopify Partner
878 190 188

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.