• Resolved richard999

    (@richard999)


    Is there css code which I can use to line up the pagination information and the previous/next button with the left and right edges of a table? The example in the page I’ve linked is in a cool timeline pro story; but I have the same issue with a table on an ordinary WordPress page.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    To achieve that, you will have to set the width of the table differently. Essentially, please remove

    .tablepress-id-20 {
    	width: auto !important;
    	margin: 0 auto 1em;
    }

    and

    .tablepress-id-20 {
    	width: auto;
    	margin: 0 auto 1em;
    }

    from your “Custom CSS” (note that these are duplicated anyways), and instead add

    #tablepress-20_wrapper {
        width: 390px;
        margin: 0 auto;
    }

    Regards,
    Tobias

    Thread Starter richard999

    (@richard999)

    That did the trick, Tobias! Thanks so much.
    Richard

    Plugin Author TobiasBg

    (@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 ‘Lining up pagination info and prev/next button with edges of table’ is closed to new replies.