How can I add a border to product description tables?

Topic summary

A user needed help adding borders to product description tables on their Shopify store.

Solution provided:

  • Navigate to Shopify admin → Online Store → Themes → Actions → Edit code
  • Locate the theme’s CSS file (theme.css, styles.css, or base.css) in the Assets folder
  • Add the following CSS code at the bottom:
table.details-table.striped {
    border: 1px solid black;
}
  • Save the changes

Outcome:
The solution was successfully implemented and worked perfectly for the user’s store (artisanbrandingcompany.com). The discussion included a screenshot showing the expected result with bordered tables in the product description.

Summarized with AI on November 19. AI used: claude-sonnet-4-5-20250929.

How do I add a border to tables in the product description?

1 Like

Hi @infoABC ,

Would you mind to share your URL website (with password if its protected)?

Thanks!

https://artisanbrandingcompany.com/products/copy-of-16-oz-pint-mixing-glass

1 Like

Thank you for the information.

Try this.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “theme.css, styles.css or base.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:
  4. And Save.
table.details-table.striped {
    border: 1px solid black;
}

Add it to styles.css and it worked perfectly. Thank You!

1 Like

Welcome. Happy to help. :blush:

1 Like