How can I center an HTML table on my website?

Hi! So this is my site → bitwash.eu and I made and html table for shirt sizes, the problem is it looks like this

How can I center it between the title and desc?

Hi @Czaban

Try 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:
table.tg {
    margin: auto;
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Thank you very much friend it worked! If thats not a problem, how can i make it closer to INFO title? Like the same gap between “100% cotton”

Use this one.

Same Instruction.

h2.page-title.h1.scroll-trigger.animate--slide-in {
    margin-bottom: 0px;
}
#shopify-section-template--19646933008722__d7812b24-aeb8-4a4d-a61f-576b64f402c0 > div > div > div > div:nth-child(2) {
    display: none;
    
}

And Save.

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Thank you so much man :heart: !