Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I need help decreasing the line spacing for tables on product descriptions:
https://www.coastalcoffeecollective.com/products/new-product-copy
Ideally would like half this size.
Thanks so much. I added that at the end of the CSS file and nothing happened 😞
Check this one.
.accordion__content.prose .table-scroller td {
padding: 5px;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @coastalcoffee,
Please go to Customize > Theme settings > Custom CSS and add code:
.product-info__block-item table {
--table-cell-padding-block: 0.5rem;
}
Please add this code to Custom CSS in Sales channels > Online store > Themes > Customize > Theme settings
.product-info__block-item[data-block-id="description"] th,
.product-info__block-item[data-block-id="description"] td {
padding: 8px 1rem;
}
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.