• Resolved syncmaster913n

    (@syncmaster913n)


    Hi again Tobias!

    I am using the latest TablePress with the latest FooTable for responsiveness as I like it the best for this purpose out of everything out there. Within footable I have disabled the custom css styling influence on the tables. Here is an example site of mine:

    http://tinyurl.com/pfamlba

    Please take a look at the Table on the front page. If you minimize your browser and then shrink the size (width) of the browser so that it resembles the size of an average smartphone, you’ll see FooTable in action. However, do you see the ” + ” sign for expanding the hidden columns? As you can see, the + sign is centered everywhere right above the image, EXCEPT for in the second row (“Barnett Jackal Crossbow Package”)

    I have left it like this on purpose as an example for you to illustrate the problem. Here is the issue: the only way I have been able to center the cell content so that the ” + ” sign is centered as well, is by using <center>….</center> inside TablePress, for every cell where the + sign appears.

    I have tried custom css styling in TablePress but could not influence this. Do you have any idea on what I can add? Here is my current custom css in TablePress:

    —————————-

    .tablepress {
    width: auto;
    text-align: center !important;
    }

    .tablepress tbody td {
    font-family: Tahoma;
    font-size: 12px;
    color: #000000;
    }

    .tablepress td {
    text-align: center !important;
    border: 1px solid #DDDDDD;
    }

    .tablepress thead th,
    .tablepress tfoot th {
    font-size: 12px;
    text-align: center !important;
    }

    —————————-

    If you have any ideas please do let me know. Thanks as usual!

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

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I’m not familiar with the CSS for the FooTable HTML elements, but this might work

    .tablepress.footable.breakpoint>tbody>tr>td>span.footable-toggle {
      display: block;
    }

    Regards,
    Tobias

    Thread Starter syncmaster913n

    (@syncmaster913n)

    You, my friend, are a genius.

    Thank you.

    Thread Starter syncmaster913n

    (@syncmaster913n)

    Oh and just one note for anyone out there having trouble getting FooTable to work with TablePress: make sure you disable horizontal scrolling in the TablePress options and you’ll be all set.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

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

    Best wishes,
    Tobias

    Thread Starter syncmaster913n

    (@syncmaster913n)

    Just donated again, this time 10 Euro. Thanks for the excellent plugin and support!

    P.S. is there a way I can reach you directly? Perhaps by e-mail? I have a question / request that I would like to make.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks, I really appreciate it! 🙂

    Sure, just send me an email. The address is in the main plugin file “tablepress.php”.

    Regards,
    Tobias

    Thread Starter syncmaster913n

    (@syncmaster913n)

    Thanks, I’ll be in touch soon.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    sure! Always glad when I can help!

    Best wishes,
    Tobias

    Thread Starter syncmaster913n

    (@syncmaster913n)

    Sent!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks! I’ve received your email and will reply shortly!

    Regards,
    Tobias

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘FooTable centering cell content’ is closed to new replies.