• Resolved jacobers

    (@jacobers)


    Hello,

    I’m new to wordpress and i tried to figure it out how to effectivly use css to center table to the site layout. Tried bunch of codes from other posts. I didnt’t work either. Put it into custom tablepress code and style.css, neither of it worked. My site address and post i tried to center table (https://workitout.atthost24.pl/?p=266)

    Help will appreciated,
    Cheers Jacob

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Jacob,

    thanks for your post, and sorry for the trouble.

    The problem here is that your table is too big for the content space that your theme allows. You will have to make it fit. For that, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress tbody td {
    	padding: 6px !important;
    }
    .tablepress thead th {
    	padding: 6px 20px 6px 6px !important;
    	letter-spacing: normal !important;
    	text-transform: none !important;
    }

    Regards,
    Tobias

    Thread Starter jacobers

    (@jacobers)

    Thank you for your input.
    Have a nice day.

    Cheers,
    Jacob

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Table centered’ is closed to new replies.