Have your say in Community Polls: What was/is your greatest motivation to start your own business?

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 184

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
10236 2035 2105

Please add this code to do that 

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

- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. 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 184

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.