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
11399 2237 2409

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

- Found this helpful? Hit "Like" and "Accept as Solution"!
- 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 - Gain customers with photo gallery, video & shoppable image
Built for Shopify

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
11399 2237 2409

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

- Found this helpful? Hit "Like" and "Accept as Solution"!
- 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 - Gain customers with photo gallery, video & shoppable image
Built for Shopify

Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.