Shopify themes, liquid, logos, and UX
Hi there! I'm trying to center the add to cart button (which is currently on the left side) on both the feature collection display and the collection page, but nothing seems to work... I'd greatly appreciate help with this! Thank you very much! Below, a screenshot of how it looks right now. And if it's possible to also increase a bit the size of the price and remove the underlying when "hoovering" on the product name, that would be so amazing.
Solved! Go to the solution
This is an accepted solution.
Hello @Multicoloruni, Please follow these steps to add this CSS code:
1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open your CSS file. open "quick-add.css"
6. Add the following code at the end of the file.
Find the CSS with .quick-add class.
.quick-add {
position: relative;
grid-row-start: 4;
margin: 0 0 1rem; /* this is old CSS, remove or comment this CSS */
margin: 0 auto; /* this is new CSS, add this CSS */
z-index: 1;
}
See the screenshot below,
Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.
This is an accepted solution.
Hello @Multicoloruni
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
.quick-add {
margin: 0 auto !important;
}
.underline-links-hover:hover a {
text-decoration: none !important;
}
span.price-item.price-item--regular {
font-size: 25px !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hello @Multicoloruni, Please share your store URL and password.
So that I will check and let you know the exact solution here.
Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.
how to provide url shop.
This is an accepted solution.
Hello @Multicoloruni, Please follow these steps to add this CSS code:
1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open your CSS file. open "quick-add.css"
6. Add the following code at the end of the file.
Find the CSS with .quick-add class.
.quick-add {
position: relative;
grid-row-start: 4;
margin: 0 0 1rem; /* this is old CSS, remove or comment this CSS */
margin: 0 auto; /* this is new CSS, add this CSS */
z-index: 1;
}
See the screenshot below,
Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.
This is an accepted solution.
Hello @Multicoloruni
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
.quick-add {
margin: 0 auto !important;
}
.underline-links-hover:hover a {
text-decoration: none !important;
}
span.price-item.price-item--regular {
font-size: 25px !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Thank you so much!! This worked perfectly and fixed all the 3 things I was mentioning!! I really appreciate your help.
Hello! @Multicoloruni Please follow these steps to add this CSS code:
1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open your CSS file. If you have a custom CSS file, open that instead.
5. If you can't find your custom CSS file, open "base.css"
6. Add the following code at the end of the file.
body .quick-add {
margin: 0 auto !important;
}
If you need further assistance, please let me know. If you found my help useful, consider liking this message and marking it as the solution.
Best regards
K.K
Hi @Multicoloruni , I hope you are doing well.
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </body>
<style>
.quick-add {
position: relative;
grid-row-start: 4;
z-index: 1;
}
</style>
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024