Thanks in advance!
I am looking to remove the words “product”, “total” and the line under the words in the cart drawer section. Example shown below.
password: dc
A user wants to remove the “Product” and “Total” column headers and their underline from the cart drawer in the Dawn theme.
Solutions provided:
.cart-items thead { display: none; } to hide the entire header row#CartDrawer-ProductColumn, #CartDrawer-TotalColumn, and .cart-drawer-items th using display: none and border: none !importantImplementation location:
All solutions recommend adding the CSS code to theme.liquid file, placed just before the closing </body> tag. The code should be wrapped in <style> tags.
Status: Multiple working solutions provided with step-by-step instructions and screenshots. The discussion appears resolved with users offering similar CSS-based approaches.
Thanks in advance!
I am looking to remove the words “product”, “total” and the line under the words in the cart drawer section. Example shown below.
password: dc
Hello,
This is Sam from Solution Expert.
Here is the solution:
Go to Themes > Edit code > Theme.liquid > at the bottom place this code before
#CartDrawer #CartDrawer-ColumnProduct, #CartDrawer #CartDrawer-ColumnTotal{display:none} .cart-drawer .cart-items th{border:none !important}In what file?
component-cart-drawer.css
How do I format the code in that file
Hi @MMast ,
Follow these Steps:
If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
Makka