• Resolved fneurieser

    (@fneurieser)


    Hello Tobias,
    I have an issue with the custom css.
    In table-id 3 I want to change the width of the first column to 30px and of the second column to 190px. Therefore I added the following lines:

    .tablepress thead th,
    .tablepress tbody td {
    	text-align: left;
    }
    
    .tablepress-id-3 .column-1 {
    	width: 30px !important;
    }
    
    .tablepress-id-3 .column-2 {
    	width: 190px !important;
    }

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Unfortunately, I could not check this on your site, as your link only gives me “blue eye” error.

    Regards,
    Tobias

    Thread Starter fneurieser

    (@fneurieser)

    Hello Tobias,

    please traf again. I’ve disabled the Blocker.

    Thread Starter fneurieser

    (@fneurieser)

    Sorry,

    I wanted tot write: try again

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks! In addition to what you have above, we’ll also need to tell the browser to not extend the table to 100% of the content width. For that, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress-id-3 {
    	width: auto !important;
    }

    Regards,
    Tobias

    Thread Starter fneurieser

    (@fneurieser)

    Hi Tobias,

    thanks a lot, now it works as aspected.

    best regards
    Franz-Georg

    Plugin Author Tobias B?thge

    (@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!

    Thread Starter fneurieser

    (@fneurieser)

    Done

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for that! ??

    Best wishes,
    Tobias

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Columnwidth in CSS don’t work’ is closed to new replies.