• Resolved geoff_s

    (@geoff_s)


    is it possible to change the color of text which reads
    “Search” … “Show ?? entries” … and “Showing ?? to ?? of ?? entries”

    This text appears outside the Excel table.
    Consequently, I am thinking the color might be controlled by javascript rather than CSS?

    Any help will be much appreciated …

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The color is actually controlled by CSS, but whether these elements exist on the page is controlled by JavaScript code.
    Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter geoff_s

    (@geoff_s)

    thank you so much Tobias for the reply …
    here is the link to the testing page:
    https://spidermancomics.ca/daredevil-inventory/

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for the link! To change the colors on the page, I recommend to add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .dataTables_length,
    .dataTables_filter,
    .dataTables_info,
    .dataTables_paginate a {
    	color: #ff0000 !important;
    	font-weight: bold;
    }

    Regards,
    Tobias

    Thread Starter geoff_s

    (@geoff_s)

    Goodness … that was a lot of code Tobias.
    many thanks for your help young man.
    I am nearly 70 years old, and still try to design websites to make ends meet.

    Thread Starter geoff_s

    (@geoff_s)

    Tobias …
    bless you, continue your phd – you are a true genius and mentor!.

    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 6 replies - 1 through 6 (of 6 total)

The topic ‘table options and Javascript text color’ is closed to new replies.