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>
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025