• Resolved izie

    (@izie)


    Hi,

    I’m trying to have one column on my table not wrap (all could have this command, but one column should not). I’m trying to do this without inputting a specific width px or % (these CSS codes do not seem to be working for me).

    I’ve combed through the forum and I found this past question:
    https://www.ads-software.com/support/topic/nowrap-in-colums?replies=8

    I used the 2 codes (in the replies), but made them fit according to my table. The only thing that worked was the nowrap command, but the column (column 8) that I want to wrap will not wrap with this Custom CSS.

    Has the code changed or been updated? Help is appreciated.

    Here’s the table:
    https://neuroscience.uchicago.edu/faculty/

    Here’s the entire custom CSS:

    .tablepress td,
    .tablepress th {
    	padding: 8px;
    	border: none;
    	background: 0 0;
    	text-align: left;
    	font-size: 90%;
    	line-height: 120%;
    	float: none !important;
    }
    
    .dataTables_filter {
    	float: left;
    	white-space: nowrap;
    	margin-bottom: 15px;
    }
    
    .tablepress-id-8 th,
    .tablepress-id-8 td {
    	white-space: nowrap;
    }
    
    .tablepress-id-8 .column-8 {
    	white-space: normal;
    }

    FYI: Table 8 is my test table.

    https://www.ads-software.com/plugins/tablepress/

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘No wrap/No wrap exempt columns’ is closed to new replies.