• Resolved Innoxius

    (@innoxius)


    The theme we are using has a dark theme switch.

    When the dark theme is active, the default color of the text on the page is white. So, the text in the drop-down list that allows the visitor to change the number of rows shown when using pagination, changes its color to the color of the text on the page: black when the theme is light, white when the theme is dark.

    So it is not readable. The text in the Search box is always black. The same goes for the text in the table. How can I change the colors in that control? Either the text color (it should always be black) – preferably, or the background color. The theme we are using is PubNews from BlazeThemes, the free version.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi!

    Thanks for your post and sorry for the trouble!

    To override the text color to black, in both light and dark mode, you can add this to the “Custom CSS” text area on the “Plugin Options” screen of TablePress:

    .dt-container .dt-input {
    color: #333333;
    }

    Regards,
    Tobias

    Thread Starter Innoxius

    (@innoxius)

    Yes, this is. Thanks for your support. Maybe it would be a good idea to show the solution in documentation / FAQ?

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi @innoxius,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Adding this to the FAQ won’t really help many people, as this is a rather special problem: Essentially, the dark mode implementation of your theme is a bit incomplete. For many elements on the page, it’s for example only changing the text color (but also not for all…), and not the background color.

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress in the plugin directory. Thanks!

    Thread Starter Innoxius

    (@innoxius)

    Done!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thank you! I really appreciate it 🙂

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Row per page drop-down styling’ is closed to new replies.