Shopify themes, liquid, logos, and UX
Hi, i want to change the placement of the size chart button and put it just above the add to cart button such in the example i provide. I'm using the app BF Size Charts and they can't give me a solution. I'm trying to change it on a theme (Baseline) that isn't live yet. I'll provide you an image
Solved! Go to the solution
This is an accepted solution.
Hi @DaniCollantes Please add the code to solve the issue.
margin-top: unset !important;
I have provided you the code in previous post, just add above line in the same code.
So the updated code will look like this:
<style>
.add-to-cart-container.mt-8.lg\:w-3\/4 {
margin-top: unset !important;
width: 100% !important;
}
</style>
Please follow the steps:
Result:
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
Best Regards
Sahil
- Your
Can you please provide your store URL and password as well if applicable, so that I can provide you solution that can work for your store.
If this theme is not live then there is a option when you click on the theme and preview the store with this theme, there is a option of sharing the preview link with other so you need to provide that link, so that we can look into that.
Best regards
Sahil
- Your
This is an accepted solution.
Hi @DaniCollantes Please add the code to solve the issue.
margin-top: unset !important;
I have provided you the code in previous post, just add above line in the same code.
So the updated code will look like this:
<style>
.add-to-cart-container.mt-8.lg\:w-3\/4 {
margin-top: unset !important;
width: 100% !important;
}
</style>
Please follow the steps:
Result:
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
Best Regards
Sahil
- Your
Thank you so much
Add this css in your edit code > theme.min.css file
.product-content-container .shopify-product-form .add-to-cart-container.mt-8.lg\:w-3\/4{
margin-top: 0;
}
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
Contect On My Mail :-Mail@gmail.com
Hello @DaniCollantes
Go to online store ---------> themes --------------> actions ------> edit code------->base.css or theme.css
add this code at the end of the file.
div .best-fit-size-chart, div .scr-open-parent {
width: 100%;
max-width: 100%;
height: 10px !important;
}
and the result will be
If this was helpful, hit the like button and mark the job as completed.
Thanks
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025