A user wants to move the “Continue Shopping” link below the “Your Cart” heading on their cart page, as both elements currently appear on the same line.
Two solutions were provided:
CSS approach: Add custom CSS to the base.css file that changes the .title-wrapper-with-link class to use flexbox with column direction and center alignment, adding bottom margin to the title element.
JavaScript approach: Insert custom <style> code in the theme.liquid file above the </body> tag to modify the layout structure.
Both solutions target the same CSS class (.title-wrapper-with-link) to stack the elements vertically instead of horizontally. The discussion includes code snippets and step-by-step instructions for implementing either fix in the Shopify theme editor.
Summarized with AI on November 19.
AI used: claude-sonnet-4-5-20250929.
Thanks in advance for always giving me good solutions on a very timely basis.
In my cart page on the main heading there are two elements. They are both located on the same line.
Heading - Your Cart
A Link - Continue Shopping
I want to know how to change the 2nd element - the link - Continue Shopping to a line below the Heading - Your Cart. Please let me know what code I can use. Sharing the link to the page below: