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

    (@tobiasbg)

    Hi,

    to change the color of the table name, you can use this CSS code which needs to be pasted into the “Custom CSS” textarea on the “Plugin Options” screen of WP-Table Reloaded:

    .wp-table-reloaded-table-name-id-5 {
      color: #ff0000 !important;
    }

    The comment at the bottom of the table can be hidden by unchecking the “Table Info” checkbox in the “DataTables JavaScript Features” section, where you have already unchecked “Sorting” and “Filtering”.
    As you are then however no longer using features of the DataTables library, it is easier to just uncheck the “Use JavaScript library” checkbox.

    Regards,
    Tobias

    Thread Starter johnhenworth

    (@johnhenworth)

    Hi Tobias
    If you can look at my site, you will see what I want to do.
    https://indalobowlingclub.com/

    I have tabs in the nav menu

    Trojans
    Musketeers
    Eagles
    Vikings

    I want the same template on all that is on the trojans tab.
    is there a easy way of copying over. at the moment I am doing it long hand.

    eg the table name. when I go to change the color in eagles,it changes that, but the trojans goes back to black

    I know it sound complicated but if you look you will see what I mean

    Sorry John

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi John,

    the “Trojans” went back to black because you either removed it or just changed the table ID in the code. You will of course need to keep the code that I posted above for all table IDs that you want this for. The “Custom CSS” field is not used on a per-table basis, but for all tables at one time. Thus, the code for all tables goes in there.

    Now, as you want to change the color of all table names, you can do this more easily by using

    .wp-table-reloaded-table-name {
      color: #ffffff !important;
    }

    By using the code with the “-id-6” part, it will applied to all tables names, regardless of the ID. So, using that will mean that you won’t have to adjust the code again.

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-Table Reloaded] Table header color’ is closed to new replies.