If you have tried to align your button in this manner and it did not work... try to add a class in the way shown below:
- Open your Shopify admin and go to Online Store > Themes.
- Find the theme you want to edit and click Customize.
- Click the Theme settings icon (⚙️) in the left sidebar.
- Scroll down and select Custom CSS.
- Add your custom CSS code in the provided box.
@media (max-width: 600px) {
#sizefox-container {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
- Click Save in the top-right corner to apply the changes.