Trying to move the back to top icon in the bottom right corner now to the left corner. Do not see in in theme.liquid site is http://www.diyretroarcade.com
Thanks for the assist!
A user wants to reposition the âback to topâ button from the bottom-right to bottom-left corner on their Shopify Rise theme site (diyretroarcade.com).
Initial Challenge:
assets/theme.css (line 12360) but couldnât edit it directlytheme.css.liquid, where they couldnât find matching codeSolution Provided:
Multiple respondents recommended adding custom CSS through the theme customizer instead of editing core files:
.back-to-top {
right: auto !important;
left: 22px !important;
bottom: 90px !important;
}
Key Considerations:
left: 7rem or bottom: 90px) were suggested to avoid overlapOutcome:
The user confirmed the solution worked and planned to implement it on their live site.
Trying to move the back to top icon in the bottom right corner now to the left corner. Do not see in in theme.liquid site is http://www.diyretroarcade.com
Thanks for the assist!
Hi @shanet1994
To move back to top icon you should check this code in your assets/theme.css line 12360
.back-to-top {
position: fixed;
right: 0.9375rem;
bottom: 0.9375rem;
z-index: 1200;
padding: 0;
margin-top: 0;
pointer-events: none;
opacity: 0;
transition: opacity 100ms, transform 100ms;
transform: translateY(0.9375rem);
}
and change ârightâ to â leftâ
.back-to-top {
position: fixed;
left: 0.9375rem;
bottom: 0.9375rem;
z-index: 1200;
padding: 0;
margin-top: 0;
pointer-events: none;
opacity: 0;
transition: opacity 100ms, transform 100ms;
transform: translateY(0.9375rem);
}
but note that you can contact icon there. But you probably want to move that to right ?
I found that there as well but says that the file is not editable that its controlled by theme.css.liquid but I cannot find anything in the theme.css.liquid that looks like that. the contact us I can move thru the add itself ![]()
can move the contact thru the app*
hmm OK.
Try to search in the theme code editor for â.back-to-topâ, that CSS should be coming from somewhere.
You should be able to do this without theme code edits.
You can go to Cusomizer, Theme Settings=> Custom CSS
paste this code:
.back-to-top {
right: auto;
left: 2rem;
}
However, you do have a chat icon there, so maybe use this to avoid overlap:
.back-to-top {
right: auto;
left: 7rem;
bottom: 1.3rem;
}
Hi @shanet1994,
Please go to Customize > Theme settings > Custom CSS and add code:
.back-to-top {
right: auto !important;
bottom: 90px !important;
left: 22px !important;
}
If I helped you, then a Like would be truly appreciated.
this worked, will move to live site later today ![]()
You can move the âBack to Topâ icon by adding a small CSS rule. Even if you donât see it in theme.liquid, itâs likely included through a global CSS or JavaScript file. Add this snippet to your theme.css or custom.css:
.back-to-top {
right: auto !important;
left: 20px !important;
}
If itâs using a different class, inspect the element in your browser (right-click â Inspect) to find the correct selector, then apply similar positioning.
This will shift the icon from the bottom-right to the bottom-left corner.