A user needed to reduce excessive spacing between headings and descriptions in a multicolumn section, particularly problematic on mobile views. Their initial CSS targeting .stat-block elements didn’t resolve the issue.
Solution provided:
Add custom CSS via the theme.liquid file
Insert code snippet above the </body> tag in Online Store > Edit Code
The CSS targets spacing between heading and description elements
Outcome:
The solution successfully reduced the spacing. The fix was confirmed working by the original poster, resolving the mobile layout concern.
Summarized with AI on October 28.
AI used: claude-sonnet-4-5-20250929.
Hello, my client said the space between the heading and description is too wide, so the section looks too long in the mobile view. How can I fix it with some custom CSS or something else? I used the code below, but it didn’t work.
Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.