A Shopify store owner encountered misaligned text in bullet lists within a wrapper element, where list items weren’t indenting properly after the bullet points. The issue stemmed from using list-style: inside, which kept bullets within the wrapper but caused poor text alignment.
Solution provided:
Add CSS code to the theme file:
.smart-tabs-content-wrapper li {list-style: outside; margin-left: 1em;}
Related issues addressed:
For accordion sections with similar alignment problems, the fix is:
.accordion li {text-indent: -20px;}
Implementation notes:
Code should be added to theme.scss.liquid, theme.css, or section-main-product.css depending on the theme structure
Multiple users confirmed these solutions successfully resolved their bullet point alignment issues
Screenshots demonstrated the before/after results showing proper text indentation with bullets positioned correctly
Status: Resolved with working CSS solutions for both smart tabs and accordion implementations.
Summarized with AI on November 1.
AI used: claude-sonnet-4-5-20250929.
I am stuggling with something that should be very simple to fix in my opinion, I am not the best in CSS tho! I want my text to be alligned like it normally is when you use a bullet list in word etc. But somehow the wrapper screws it up. List-style is set on inside because otherwise the points would be on the edge of the wrapper and it looks even worse. (list-style: inside)
How do I get is as below in the image, so I have my text alligned and the bulletpoints are still in the wrapper. I think it should be very simple but all the solutions I find are not working for me. The website is mdksocks.nl
Sorry guys. I didnt copy the border in the example. It is about the text alligment and not the border, I am sorry! The border obviously needs to stay, the text needs to be better aligned!
@suyash1 I noticed that you indicated to add this code to theme.scss. By chance, did you mean theme.css? I tried to add it to the end of theme.css and it is not working. Please advise if you have any further suggestions.
This worked for me! I was having the awkward text handing left when using Bullet Lists in the Product Accordion section. Added the code below to this location —> assets/section-main-product.css