New Shopify Certification now available: Liquid Storefronts for Theme Developers

Refresh theme menu orientation

Solved
Suominen
Tourist
3 0 3

Hi all,

 

I'd like to change the menu orientation on Refresh theme on mobile. Currently the open menu button (3 lines) is on the left side of the screen. I'd like to change it to the right side of the screen, and to change the search icon and cart icon to the left side. Is there a piece of code that can do this?

 

oaSJIQF.png

 

Thanks in advance!

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
4243 981 1195

This is an accepted solution.

Do you mean like this right?

Made4uoRibe_0-1697999656877.png

If it is stry this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "theme.liquid" find the tag </body> and print this code below before the tag. 

 

<style>
@media only screen and (max-width: 989px){
header-drawer {
    grid-column: 3;
    justify-self: end;
}
.header__icons.header__icons--localization.header-localization {
    grid-column: 1;
    justify-self: start;
}
}
</style>

 

  • And Save. 
  • Like this. 
  • Made4uoRibe_1-1697999798696.png
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 5 (5)
Made4uo-Ribe
Shopify Partner
4243 981 1195

Hi @Suominen 

Would you mind to share your Store URL website? with password if its unpublish. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


Suominen
Tourist
3 0 3

Hi,

 

You can find my store at https://suomed.fi/

Made4uo-Ribe
Shopify Partner
4243 981 1195

This is an accepted solution.

Do you mean like this right?

Made4uoRibe_0-1697999656877.png

If it is stry this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "theme.liquid" find the tag </body> and print this code below before the tag. 

 

<style>
@media only screen and (max-width: 989px){
header-drawer {
    grid-column: 3;
    justify-self: end;
}
.header__icons.header__icons--localization.header-localization {
    grid-column: 1;
    justify-self: start;
}
}
</style>

 

  • And Save. 
  • Like this. 
  • Made4uoRibe_1-1697999798696.png
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


Suominen
Tourist
3 0 3

Works like a charm, thank you for your help!

PageFly-Richard
Shopify Partner
3678 807 1455

Hi @Suominen 

This is Richard from PageFly - Shopify Page Builder App, I’d like to suggest this idea:
Online Store ->Theme ->Edit code
Assets ->Base.css

header-drawer {
    grid-column: 3 !important;
    justify-self: end !important;
}
.header__icons.header__icons--localization.header-localization {
    grid-column: 1 !important;
    justify-self: start !important;
}

Hope you find my answer helpful!
Best regards,
Richard | 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.