Shopify themes, liquid, logos, and UX
There seems to be spacing between the description block and accordion block since adding a split tag for long description. How can this be removed. I know the id, but ID is NOT changing the space to be even with the other accordion spacing.
Solved! Go to the solution
This is an accepted solution.
@xnyjyh , Add this code to your theme.liquid file before the </body> tag :
<style>
.product__description {
margin-bottom:0 !important;
}
.accordion {
margin-top: 0 !important;
}
</style>
Hi @xnyjyh,
Step 1. Go to Admin -> Online store -> Theme > Edit code
Step 2. Find the file base.css
Step 3. Add this code to the end of file
.product__accordion.accordion {
margin-top: 0px!important;
}
.product__info-container .product__description {
margin-bottom: 0px!important;
}
Result:
If it helps you, please like and mark it as the solution.
Best Regards
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
Unfortunately it did not work 😞
This is an accepted solution.
@xnyjyh , Add this code to your theme.liquid file before the </body> tag :
<style>
.product__description {
margin-bottom:0 !important;
}
.accordion {
margin-top: 0 !important;
}
</style>
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025