Bullet Point list in wrapper not alligning text properly

Topic summary

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.

Dear community,

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

1 Like

@MDKSocks - I see like this

Hey there @MDKSocks ,

Add the following code to your theme.scss.liquid (or theme.css) file

#smart-tabs-content-0 {
border: none !important;
}

Hope it helps.

@MDKSocks - add this

.smart-tabs-content-block {border: none;}

.smart-tabs-navigation-li, .smart-tabs-navigation-li:active {border: none;}

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!

Like this @suyash1 @UmairA

You are not gonna tell me there is no way to fix this?

@MDKSocks - please add following css to the end of theme.scss and check , I see like in screenshot

.smart-tabs-content-wrapper li {list-style: outside;    margin-left: 1em;}

@suyu Thank you you absolute legend!!! What do you think about my website? Do you think it looks good?

I’m trying the same thing, but I’m using an accordion and I cannot get the bullet points to indent correctly.

Here is how it currently look on my product page:

And here is how I want it to look:

I am using out of the sandbox turbo, and I tried some of the solutions here but for an accordion, instead of a smart tab, but I can’t get it to work.

Any help would be appreciated.

Thanks!

There solution from suyash1 worked for me!

@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.

@Samboi - can you please share your website link?

If you have some time, can you take a look at www.nootkas.com? Here’s a page with the issue:

https://www.nootkas.com/collections/womens-slippers/products/womens-astoria-wool-house-slippers

Thanks!

@rob10k8 - please add following css to the end of your styles.css and check, should look like screenshot below

,accordion li{text-indent: -20px;}

1 Like

Perfect!

Thank you!!

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

.accordion li {
  text-indent: -20px;
}