WordPress.org

Support

Support » Plugins and Hacks » TablePress » [Resolved] Column width problem

[Resolved] Column width problem

  • If I use below in a three column table

    .tablepress-id-7 .column-1,
    .tablepress-id-7 .column-2 {
    width: 150px;
    }

    ~Columns 1 and 2 go to specified width and column 3 goes to default width

    However if i use to get all columns to 150px

    .tablepress-id-7 .column-1,
    .tablepress-id-7 .column-2,
    .tablepress-id-7 .column-3 {
    width: 150px;
    }

    none of the columns go to specified width, they all are standard width, i.e. each is a 1/3 of page width???

    Im using the customizr theme and am very new to all this so feel slightly out of my depth!! Go easy on me!!

    Thanks

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

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

    @tobiasbg

    Hi,

    thanks for your post, and sorry for the trouble.

    If you want to change all three columns of a three-column table, you’ll also need to tell the table to not stretch to the full width. For that, please try adding this as well:

    .tablepress-id-7 {
      width: auto;
    }

    Regards,
    Tobias

    Perfect, thanks for the speedy reply!!

    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 ‘[Resolved] Column width problem’ is closed to new replies.
Skip to toolbar