Shopify themes, liquid, logos, and UX
Hey guys.
Hope you have a good day. Any idea how we can remove the section "Goes great with" from the "cart page"?
Website: https://soulmart.ca (pass: kona)
cart page example: https://prnt.sc/soQlHbE3mdip
Expanse theme
I was trying to do it myself, with no success.
Thank you in advance for any help.
Solved! Go to the solution
This is an accepted solution.
If you can't find theme.css, as @AvadaCommerce mentioned, go to edit code > sections > cart.liquid or snippets > cart.liquid and add this:
<style>
.cart__item-row.cart-recommendations{
display:none!important;
}
</style>
Hi @NikiSoulMart,
Please edit your theme code to remove it:
- From you Shopify admin, go to Sales channel > Online Store > Theme > Actions > Edit code
- Open the Assets/theme.css file and paste this code at the bottom of the file
.cart__item-row.cart-recommendations{
display: none !important;
}
- Hit Save
I hope it helps.
Code has been added, unfortunately, nothing has changed. Please see below:
Strange
Hi @NikiSoulMart easiest way, go to edit code > assets > theme.css and add this at the beginning of the file:
.cart__item-row.cart-recommendations{
display:none!important;
}
I tried this one too and nothing has changed, hmmm.
Do you have theme.css file? The one you showed is theme.css.liquid
This is an accepted solution.
If you can't find theme.css, as @AvadaCommerce mentioned, go to edit code > sections > cart.liquid or snippets > cart.liquid and add this:
<style>
.cart__item-row.cart-recommendations{
display:none!important;
}
</style>
@AvadaCommercevery good point. No we don't have theme.css only theme.css.liquid.
@MarinaPetrovicThank you so much, it works now.
Have a great day
@NikiSoulMart Go to assets/theme.css and paste
.index-section
{
display:none !important ;
}
below css at bottom of file.
Learn 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, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025