WordPress.org

Ready to get started?Download WordPress

Forums

WP-Table Reloaded
[resolved] Change column font size (6 posts)

  1. angeliti
    Member
    Posted 2 years ago #

    Hi Tobias,

    I would like to change the font size for a particular column for a particular table. This is the CSS code that I'm using:

    .wp-table-reloaded-id-1 .column-10 {
    font-size: 16pt !important;
    }

    Unfortunately, it's not having any effect at all :(

    Any ideas?

    Thanks!
    Angel.-

    http://wordpress.org/extend/plugins/wp-table-reloaded/

  2. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    this looks good to me...
    Can you please post the URL to the table where this is not working?

    Regards,
    Tobias

  3. angeliti
    Member
    Posted 2 years ago #

    Hi Tobias,

    The table is here: Comparativa Ebooks

    Thanks!
    Angel.-

  4. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    Hi!

    thanks for the link!

    However, I'm not seeing the code that you mention in the page. Did you remove it again?

    If you had it in the "Custom CSS", the reason for why it did not work likely is that stray semicolon ; after the } that you have added to the other block of CSS code there. If you remove that ;, the CSS should work.

    You might however want to use this only on the table body cells (and not the header row), like this:

    .wp-table-reloaded-id-1 tbody .column-10 {
      font-size: 16pt!important;
    }

    Regards,
    Tobias

  5. angeliti
    Member
    Posted 2 years ago #

    That made the trick, thanks a lot Tobias!

    Best regards,
    Angel.-

    PS: Probably also a good candidate for the FAQs.

  6. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    great! Thanks for the confirmation!

    The idea with the FAQ sounds good, I'll add it (once I find the time...)!

    Best wishes
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic