Re: Logo left and menu right side position on mobile view

Solved

Logo left and menu right side position on mobile view

WasifShabbir
Shopify Partner
4 0 0

I want in my shopify theme cart and drawer menu on right side and logo on the left side ON MOBILE VIEW.

My store URL: https://astrofreezetreats.com/

Accepted Solution (1)

Dan-From-Ryviu
Shopify Partner
11537 2258 2441

This is an accepted solution.

Hi @WasifShabbir 

You add code following this instruction.

  • Go to Online Store, click Themes
  • In the current theme, click "..." > select Edit code 
  • Open theme.liquid file, add this code after <head>
<style>
@media (max-width: 749px) {
.header__main-nav {
    grid-area: secondary-nav !important;
}
.header__main-nav .header__icon-list {
    justify-content: flex-start !importnt;
    flex-direction: row-reverse !important;
}
.header__logo {
    grid-area: main-nav !important;
}
.header__secondary-nav {
    grid-area: logo !important;
}
}
</style>

The result

Screenshot 2024-06-04 at 15.24.24.png

- 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.

View solution in original post

Reply 1 (1)

Dan-From-Ryviu
Shopify Partner
11537 2258 2441

This is an accepted solution.

Hi @WasifShabbir 

You add code following this instruction.

  • Go to Online Store, click Themes
  • In the current theme, click "..." > select Edit code 
  • Open theme.liquid file, add this code after <head>
<style>
@media (max-width: 749px) {
.header__main-nav {
    grid-area: secondary-nav !important;
}
.header__main-nav .header__icon-list {
    justify-content: flex-start !importnt;
    flex-direction: row-reverse !important;
}
.header__logo {
    grid-area: main-nav !important;
}
.header__secondary-nav {
    grid-area: logo !important;
}
}
</style>

The result

Screenshot 2024-06-04 at 15.24.24.png

- 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.