Force to remove borders from table, th, td

Hello,

we want to add a table without borders in a custom-html-section in our shopify store.

We are using the motion Theme by archetype. In Theme settings, it is only possible to set the variable for “Lines and borders”.

I tried to add/modify this to the theme.css file, but with no sucess.

table, th, td{ border: 0px !important; }

I also tried to set the border, border-color etc. directly in the html-input from the section, also no success.

Has anybody an idea? (I am not a developer - I would appreciate if you could try to explain simple! :slightly_smiling_face:

Thank you!

plz use this code

table{
 border-collapse:collapse;
}
1 Like

Works perfectly.

Thank you very much. :slightly_smiling_face: