1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to make a Comparison Table in Wordpress smaller?

Discussion in 'Making Money' started by jclee4, Apr 2, 2016.

  1. jclee4

    jclee4 Jr. VIP Jr. VIP Premium Member

    Joined:
    Aug 6, 2014
    Messages:
    374
    Likes Received:
    98
    I'm using Tablepress and I'm trying to make a Comparison table Smaller. It's so large when I open the web page. The Pictures are super large too. Is there a option for this or any other table plugins that you guys would recommend?
     
  2. duca

    duca Registered Member

    Joined:
    Sep 18, 2008
    Messages:
    67
    Likes Received:
    17
    Without seeing actual code or example it would be very hard to give proper solution.

    Wild guess would be to add in your CSS file, something like this (replace 1 with your id):
    Code:
    .tablepress-id-1 {
        width: auto !important;
    }
    Applying same principle, you can decrease padding in cells like:

    Code:
    .tablepress-id-1 th,
    .tablepress-id-1 td {
        padding: 2px 4px !important;
    }
     
    • Thanks Thanks x 1
  3. jclee4

    jclee4 Jr. VIP Jr. VIP Premium Member

    Joined:
    Aug 6, 2014
    Messages:
    374
    Likes Received:
    98
    Thanks, I'll try to figure this out