Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter msoudas

    (@msoudas)

    hold on, row one seems to be the issue

    Thread Starter msoudas

    (@msoudas)

    I guess my these wont allow the widths to be set.. urgh…

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The reason for this is that your theme is using similar CSS classes (like .column-2) for other things on the site as well. Therefore, you will have to make your “Custom CSS” more specific and prepend a .component-content before each selector, like

    .component-content .tablepress-id-1 {
    	width: auto;
    	margin: 0 auto 1em;
    }
    .component-content .tablepress-id-1 th,
    .component-content .tablepress-id-1 td {
      width: auto;
      padding: 4px;
    }

    Also, instead of putting the “Custom CSS” where you have it now, I suggest to place it into the “Custom CSS” textarea on the “Plugin Options” screen of TablePress.

    Regards,
    Tobias

    Thread Starter msoudas

    (@msoudas)

    thanks

    I am not good at css but this is a big help, I may be back.. lol

    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!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘CSS will not take’ is closed to new replies.