How can I fix RTL code so the menu opens to the right?

Hey ,
I did the TRL code and the menu icon worked out to the right but when opened it opens on the left.
How can I fix it?

https://www.outfiteam.com/
Thanks for the help !!

1 Like

???..

need help !!!

@amit101297

Thanks for the post.

i canโ€™t see any issue can you please provide a screenshot

If I do not put the menu icon code on the left when clicked it also opens on the left but when I put the menu icon code moved to the right and when clicked it opens on the left
How can I fix it?

1 Like

@amit101297

Thanks for the details

  1. Go to Online Store->Theme->Edit code
  2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
.drawer--left {
right: -300px;
}
.js-drawer-open-left .drawer--left {
-ms-transform: translateX(-300px);
    -webkit-transform: translateX(-300px);
    transform: translateX(-300px);
}
2 Likes

thank you so much !!!

Now I have the same problem only with the checkout icon

https://www.outfiteam.com/

@amit101297

how do you like your checkout button?

1 Like

@KetanKumar

I like what it looks like
itโ€™s just on the left and opens on the right just the same problem that was with the menu button

???

@amit101297

.drawer--right {
left: -300px;
}
.js-drawer-open-right .drawer--right {
    display: block;
    -ms-transform: translateX(300px);
    -webkit-transform: translateX(300px);
    transform: translateX(300px);
}

@KetanKumar

itโ€™s not working

sorry i canโ€™t see this code

hello, I couldnโ€™t find the theme.scss.liquid file