How to remove table borders in Dawn Theme product page?

Topic summary

A user seeks to remove unwanted table borders appearing on product pages in Shopify’s Dawn theme, despite attempting solutions through HTML editors and Shopify’s table creator. Empty boxes with icons are also displaying incorrectly.

Solutions Provided:

Two support teams offered CSS-based fixes:

  • PageFly-Victor’s approach: Add custom CSS to component-rte.css file that removes box-shadow from tables and adjusts column widths
  • GemPages’ method: Insert CSS code above the </body> tag in the theme.liquid file to eliminate table borders

Both solutions involve:

  1. Navigating to Online Store → Theme → Edit code
  2. Locating the appropriate file
  3. Pasting provided CSS code that targets tables without classes and removes borders/shadows

Outcome:

One user confirmed the solution worked successfully, noting it also resolved blog border issues. The discussion appears resolved with working CSS fixes provided.

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

Hi,

Im using Dawn Theme and trying to remove the border on my table within my product page.

I have trued using a HTML editor and had ‘no border’ or ‘white border’ and also just using the table creator in Shopify, but it still showing up on my produ ct.

There are also icons in the empty boxes that aren’t showing up.

Has anyone else had this issue? Screenshot attached

Hi @DMC01 ,

Could you please share your store url ( with pass if your store password is enabled ) then I can see and suggest something for you?

Best regards,
GemPages Support Team

https://str8batau.myshopify.com/products/str8bat-sensor
password - dmcstr8batau

Hi [email removed]DMC01,

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file component-rte.css,

Step 3: Paste the below code at bottom of the file → Save

table:not([class]){box-shadow:none !important}
td[style="width: 11px;"],td[style="width: 10px;"]{
    width:75px !important
}

Or

table:not([class]){box-shadow:none !important}
table:not([class]) td{border:none !Important}
td[style="width: 11px;"],td[style="width: 10px;"]{
    width:75px !important
}

Hope my solution works perfectly for you!

Best regards,

Victor | PageFly

1 Like

Hi @DMC01 ,

To can remove the border your table, you can check out my suggestion below to make it:

  1. Go to Edit code on Online Store:

  1. add my code above the tag on Theme.liquid:

I hope you find the answer helpful.

Kind & Best regards,
GemPages Support Team.

1 Like

This was glorious thank you!

It works for blog borders too!