Support » Plugin: TablePress » CSS styling not working in Sidebar HTML/Text widget.

  • Resolved Jitender S Shekhawat

    (@shekhawat)


    Hi Tobias,

    I have a tables on my website with custom CSS. The customisation works fine on the tables embedded in main content area, however the color of fonts and underlining etc. are not working properly in the sidebar widget.

    You can check the same on link given below, you need to slightly scroll down to see both the tables in a A/B manner (#1. Content, #2. Sidebar). The site is in Hindi language but the tables are in English.

    The values in column#1 of the table are in blue color, but the same are plain black in sidebar widget. Similarly the last column font is white in main area but again blackened in the sidebar.

    Do I need to add or remove something in CSS to make it work properly in sidebar too?

    https://hindi.blog/start-new-blog/

    Thanks in advance.

    Regards,
    Jitender

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

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The cause for this is that your theme is setting different link colors in the sidebar. To adjust these, please add this to the CSS:

    color: var(--global-palette-highlight) !important;
    

    (in the CSS block .tablepress-id-9 .column-1 a {), and change

    color: #ffffff;
    

    to

    color: #ffffff !important;
    

    in the CSS block for the green buttons.

    Regards,
    Tobias

    Thread Starter Jitender S Shekhawat

    (@shekhawat)

    Thanks!

    This worked like magic!

    I believe Tablepress is the best plugin in entire WP repository in terms of development and support. Your replies are prompt than that of the very famous premium plugins.

    Regards,
    Jitender

    • This reply was modified 2 months, 4 weeks ago by Jitender S Shekhawat. Reason: Forgot to mark as 'resolved'
    Plugin Author TobiasBg

    (@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 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.