Dawn theme, CSS needed to change font of lists

Hello

I am trying to adjust the font sizes and I just cant figure out how to fix the bullet list font CSS

If you look under product description, you can see any numbered or bullet lists fonts are way too large, inconsistent. What CSS code do I need to properly control these fonts?

The body font CSS is working:

.product__accordion .accordion__content p {
font-size: 14px;
}

.collapsible-content__grid .accordion__content p {
font-size: 14px !important;
}

But the numbered lists code , seem to be wrong and have no effect:
.collapsible-content__grid .accordion__content ol {
font-size: 14px !important;
}
.collapsible-content__grid .accordion__content ul {
font-size: 14px !important;
}

See product description:

https://www.iamgreenminded.com/products/bakuchiol-serum-retinol-alternative-phyto-r5

2 Likes

Hi @surfingcinv

Check this one.

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

.rte li::marker {
    font-size: 10px;
}

And Save.

Result:

Hey @surfingcinv
I think you want to decrease the font size if these lines the font-size is not matched with the whole description.

  • Revitalizes dull skin, skin rejuvenation
  • Smoothes uneven skin texture
  • Reduces fine lines and wrinkles
  • Hydrates and combats dryness

Solutions:
1. Go to the Shopify admin dashboard, click on “Online Store” then “Themes” and then click on “Customize”

.

2. Click on “Theme Settings” and then find “Custom CSS” and there should be an inbox to add custom CSS code.

.product__description ul li {
    font-size: 14px;
}

Just simply copy this code and paste it into the Custom CSS box.

3. Just click on the save button, The Button is located top right corner.

Result:

Please follow these steps your issue will resolved,
If need any further help please Like.

Thank you

Worked great. Thank you.