• Hello,

    A client’s website has a large amount of CSS I’ve discovered that a line in the default.css file I link to above (line 52-54) is superseding the custom code. I can fix the issue by commenting out the code (see below), but this isn’t ideal if a plugin update happens. Was there any recent change with this file that might have caused our CSS customizations to stop working? Is there another solution to my issue than the one that I found?

    line 52

    <!--.tablepress>:where(tbody)>tr>* {
    /* color: var(--text-color); */
    }-->

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi!

    Thanks for your post and sorry for the trouble!

    This particular line will only affect the text color of table cells of TablePress tables.

    What exact code is being overwritten by this? The solution will then likely be to increase that code’s CSS specificity — or to put it into TablePress’ “Custom CSS” text area on the TablePress “Plugin Options” screen, as it will then be loaded in the correct order (after the default CSS).

    Best wishes,
    Tobias

    Thread Starter Cami MacNamara

    (@webcami)

    We have custom code for specific cells in the customizer and it was working in the last few weeks and suddenly stopped. We tried moving the custom CSS code into the plugin area for custom code, and I’ve even tried moving it to the custom CSS to specific pages, but nothing works except for commenting this code out. Thank you for responding to me so quickly!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    ok, this indicates a problem with the CSS selector specificity, even though I’m not yet seeing how this can happen here.

    To find out more, I would need to see an example of the CSS code that is no longer working now. Can you please post one?

    Regards,
    Tobias

    Thread Starter Cami MacNamara

    (@webcami)

    Tobias, sorry for the delayed response! I’m doing some more troubleshooting with my client and I’ll get back to you!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem! Yes, please keep me in the loop on any findings here!

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.