Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author DBAR Productions

    (@dbar-productions)

    My plugin has a simple style sheet for basic formatting of the tables used to display sign-up sheets and tasks, but the only time it specifies any color is the background color for a filled task, and the bottom border color for cells. Any font colors within the tables are set by your theme.

    You can see the style sheet in the folder of my plugin:
    /assets/css/style.css

    Best thing to do is to use that as a guide for how to target certain elements of the tables, and then add your own custom CSS to your child theme’s CSS file (or use a custom CSS plugin that allows you to queue up your own CSS if you’re not using a child theme to customize your site). You can also just view the page and use the inspect element feature of your browser to see the current CSS being applied by your theme and my plugin, to give you an idea of what you need to target and change.

    There are two tables, both with their own class, making it easy to target any elements of the tables:
    table.pta-sus-sheets
    and
    table.pta-sus-tasks

    If you don’t know about CSS and styling tables, the internet can help:
    http://www.w3schools.com/css/css_table.asp (simple example)
    http://www.textfixer.com/tutorials/css-tables.php (more complex examples)
    Google is your friend for finding nice CSS style examples.

    Plugin Author DBAR Productions

    (@dbar-productions)

    Looking at your specific page, your site is set with body background to a dark color and the default text color is white, so that text color is being inherited by the table elements (but your theme is not setting background color for tables).

    So, you need to either add CSS to set the background color of tables on your site, or to change the text color in the th and td elements of your tables on your site. Or, use the table classes I gave you above to target the colors only for those specific tables if you don’t want to affect other tables elsewhere on your site (if any).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Font Color change?’ is closed to new replies.