How to center table in desktop?

Hi. I have not been able to center a table by myself. It contains two columns, but it seems it has 3 :confused:

Do you know how to center the table?

Thank you!!

Hey @educainventions,

Regretfully, there is currently no design option for tables nor a table element in X / Pro. You will need to use custom CSS for this or use a third party plugin like TablePress. For the custom CSS route, try adding a text align property for your table cells. Here’s a guide for customizing a table.

Hope that helps.

I understand hmm

But it’s within a text section with a max-width set. It should be a way to center that text section. Is it? :smiley:

I see. If you won’t be adding any content in that text element then that would do.

You mean that if the text is empty, it will work. Otherwise it’s impossible to center?? :open_mouth:

I was able to fix it by adding on the ID of Customize: packs-table-text-section

Then, in the CSS:

#packs-table-text-section{
    margin: 0 auto; 
}

:slight_smile: :slight_smile: :slight_smile:

Glad you’ve sorted it out :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.