Shopify themes, liquid, logos, and UX
Hello community,i need to put view all button on the center align its on homepage on all devices.
Solved! Go to the solution
This is an accepted solution.
Hi @VisarK
It seems your previous Css is causing the issue.
However, you can add the below code in Custom CSS part of the section in the Editor.
Customize >> Select the section >> Custom CSS
div.center {
text-align: center !important;
}
Let me know for any concerns.
If this information was helpful to you, please give it a Like. If it resolved your issue, kindly hit Like and mark it as the Solution! Thank you!
@VisarK - can you please share this page link?
This is an accepted solution.
Hi @VisarK
It seems your previous Css is causing the issue.
However, you can add the below code in Custom CSS part of the section in the Editor.
Customize >> Select the section >> Custom CSS
div.center {
text-align: center !important;
}
Let me know for any concerns.
If this information was helpful to you, please give it a Like. If it resolved your issue, kindly hit Like and mark it as the Solution! Thank you!
Hello @VisarK ,
1 Goto your theme and edit code.
2. Open theme.liquid file and add this code.
<style>
.center.collection__view-all {
margin: 0 auto;
width: 122px;
}
</style>
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025