• Resolved bertrand95

    (@bertrand95)


    I can’t change the width of the columns. This worked at the beginning then with the creation of a 3rd table the columns became narrow and non-editable. Anyone have an idea how to do this? Here is the code I put

    .tablepress-id-1 .column-2,
    .tablepress-id-2 .column-2 {
    color: #FFFFFF;
    width: 200px;
    background-color: #0c3a44;
    text-align: end;
    }

    .tablepress-id-1 .column-3,
    .tablepress-id-2 .column-3 {
    color: #0c3a44;
    width: 200px;
    background-color: #FFFFFF;
    text-align: end;
    }

    .tablepress-id-3 .column-2,
    .tablepress-id-3 .column-3 {
    color: #FFFFFF;
    width: 200px;
    background-color: #0c3a44;
    text-align: end;
    }

    Ic?ne de validation par la communauté

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

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

    (@tobiasbg)

    Hi!

    Thanks for your post and sorry for the trouble!

    The cause for these problems is the CSS code block

    .tablepress {
    	width: 120px;
    	text-align: start;
    }

    that I can see in your “Custom CSS”. This is setting a total table width of 120px for ALL TablePress tables on your site. This then takes precedence over the individual column widths.

    I therefore recommend to remove this block of CSS code from your “Custom CSS”.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with the fix width columns’ is closed to new replies.