A user needs to customize a specific cart page with two changes:
Requirements:
Hide the “view full details” link in the product section
Change the “add to cart” button color
Apply changes only to the cart page (not site-wide)
Solution provided:
Add CSS code to the theme’s stylesheet (base.css, theme.css, style.css, main.css, or custom.css):
Use .cart-template a.product__view-details selector with display: none !important; to hide the details link
Target .cart-template .product-form__submit with background: grey !important; to change button color
The .cart-template class ensures changes apply only to the cart page. The user originally requested Liquid code, but the solution uses CSS targeting instead, which achieves the page-specific customization goal.
Summarized with AI on November 1.
AI used: claude-sonnet-4-5-20250929.
Hello I am looking to hide “view full details” on this product section for this page. I am also wanting to change the “add to cart” button to be a different color. https://taleology.com/cart
Both of these I am looking to change on JUST this page so looking to do liquid code for it.
Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.