Centre table

Home Forums Data Table Plugin Centre table

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #18108

    stevemarsden
    Participant

    How can I change the alignment of a table itself (not the cell text). I cant find a setting for table alignment.

    I would like to centrea table on the page.

    #18110
    Alex_support
    Alex_support
    Member

    Hello, @stevemarsden

    You should try to add this CSS code to CSS Editor tab of required table to center it on frontend in it’s settings:

    .supsystic-tables-wrap[id^=supsystic-table-2]{
        margin-left:auto !important; 
        margin-right:auto !important;
        }

    [id^=supsystic-table-2] – it means “id is starting from supsystic-table-2″” – because this html element has a little bit different ID, it generates dynamically.

    #18116

    quasarn01
    Participant

    Hey @stevemarsden, have you tried using the <CENTER>[shortcode]</CENTER> method on the page where your shortcode displays your table?

    #18125

    stevemarsden
    Participant

    Hi quasarn01

    Yes already tried that and it didn’t work.

    #18126

    stevemarsden
    Participant

    Hi Alex_support

    That worked. Thanks

    #22800

    paolostour
    Participant

    Hi @Alex_support,
    gotta bring this up again.
    I’m using Contact Form by Supsystic V1.77 and I have a centered site.
    But as soon as I insert the short code [supsystic-form id=11] or [supsystic-form id=12] the actual side moves all the way to the right.
    https://niocara.com/contact/booking/
    Soon as I delete the short code everything is fine again, if I insert anything else it stays correct also.
    How can I solve this problem pls ? Thank you in advance for an help.

    #22802

    paolostour
    Participant

    FYI I moved my question now to Contact Form

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.