Hi guys! How to change button position for mobile version only?
Topic summary
A user seeks to adjust a “Shop Now” button on their Shopify store’s mobile view, specifically wanting to move it down and change its styling to white text with a white outline (no fill).
Initial Request:
- Reposition button lower on mobile devices only
- Change button outline to white
Solution Provided:
A helper provided custom CSS code to be added in theme.liquid above the </body> tag. The code uses media queries to target mobile screens and applies:
- Increased top margin to move the button down
- White border and text color
- Transparent background (no fill)
Outcome:
After one iteration to refine the styling (removing the background fill while keeping white text and outline), the solution successfully resolved the issue. The discussion is marked as resolved with the user confirming the fix works as intended.
Can you please explain me by screenshot? Then we will able to help you.
I would like to move down the button abit more for mobile view. Could you help me to change the box “shop now” outline into white too please. Your help very much appreciated.
You can add the below code in theme.liquid above .
Screenshot:
I hope solution will be useful for you. If it’s works then please like the solution and accept it.
Thank you
Thank you! But could you help me do only the letter and outline white. No fill please. Thanks in advance.
Please replace the whole given code with above code.
Thank you
You’re a genius! Thank you!
Welcome always for help.
Thank you

