Support » Plugin: TablePress » Horizontal scrolling and Image spacing

  • Resolved Lopez

    (@sk8er938)


    Hello!

    I#m trying to make my table aesthetics better, but I can#t get it exactly right.
    Through reading other support questions, I have been able to make it look almost perfect..
    The example : http://gold-backed-ira.net/home/

    -I want to enable horizontal scrolling but I have read and tried many things and none seem to work. Width should be 615px

    -I want to my images to have no extra space on the bottom, but i cannot do it.

    Thanks a lot for your support! Your plug in is amazing

    https://wordpress.org/plugins/tablepress/

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    For the scrolling, I suggest this:
    Add a wrapper <div> around the table, by changing the Shortcode to

    <div class="tablepress-scroll-wrapper">
    [table id=table /]
    </div>

    and then add “Custom CSS” like

    .tablepress-scroll-wrapper {
      overflow-x: auto;
      overflow-y: hidden;
    }

    For the space around the images, please change the CSS

    .tablepress img {
    	margin: 0 auto -12px;
    }

    to

    .tablepress img {
    	margin: 0 auto !important;
    }

    Regards,
    Tobias

    Genius work, thanks man!

    resolved

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

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

    Best wishes,
    Tobias

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Horizontal scrolling and Image spacing’ is closed to new replies.