• Resolved delcomminc

    (@delcomminc)


    Hello,

    I’m trying to display the first column only and when the user click the expand it will show other attributes. I tried changing the width of the first column to 100% but it didn’t work.

    https://imgur.com/a/43HEDWx

    Thanks!

    • This topic was modified 4 years, 8 months ago by delcomminc.
    • This topic was modified 4 years, 8 months ago by delcomminc.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    That’s a bit tricky. You could try using this “Custom CSS” code:

    .tablepress-id-123 .column-1 {
      width: 100%;
      min-width: 100%;
    }

    (The new thing might be the min-width property, compared to your previous tries.)

    Regards,
    Tobias

    Thread Starter delcomminc

    (@delcomminc)

    Hi Tobi,

    I tried doing that and still didn’t work

    Thread Starter delcomminc

    (@delcomminc)

    Hi Tobias,

    I fixed it, instead of using the %, I put px.

    .tablepress-id-2 .column-1 {
    	width: 500px;
    	min-width: 500px;
    	
    }

    Thank you!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    good to hear that you found a solution! ??

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to display the first column only in a collapse mode’ is closed to new replies.