Shopify themes, liquid, logos, and UX
Hi, Could I have some code to centre the "your cart" "continue shopping" and order "special instructions" headers but only on mobile thanks.
website is www.stagtis.com
Solved! Go to the solution
This is an accepted solution.
Hi @Stagtis ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: Paste the below code at the bottom of the file -> Save
<style>
@media(max-width:767px){
cart-items .title-wrapper-with-link{
justify-content: center !important;
}}
</style>
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
This is an accepted solution.
@Stagtis Please follow below steps to display "your cart", "continue shopping" and order "special instructions" texts in the center of the cart page for mobile view alone. Let me know whether it is helpful for you.
@media screen and (max-width:450px){
cart-items .title-wrapper-with-link {
flex-direction: column;
align-items: center;
}
.cart__footer .cart__note label[for="Cart-note"] {
width: 100%;
justify-content: center;
}
}
Now the texts will look like below,
This is an accepted solution.
Hi @Stagtis ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: Paste the below code at the bottom of the file -> Save
<style>
@media(max-width:767px){
cart-items .title-wrapper-with-link{
justify-content: center !important;
}}
</style>
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
This is an accepted solution.
@Stagtis Please follow below steps to display "your cart", "continue shopping" and order "special instructions" texts in the center of the cart page for mobile view alone. Let me know whether it is helpful for you.
@media screen and (max-width:450px){
cart-items .title-wrapper-with-link {
flex-direction: column;
align-items: center;
}
.cart__footer .cart__note label[for="Cart-note"] {
width: 100%;
justify-content: center;
}
}
Now the texts will look like below,
Shopify and our financial partners regularly review and update verification requiremen...
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