• GM

    (@gmchoops)


    Good afternoon. I have been using your WordPress Plugin on my site, bigcentralgridiron.com, and the schedule output is hard to read against a black background since it uses a gray colored front. Is there anyway that I can change the color of the font to make it more readable against a darker background?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mark O’Donnell

    (@markodonnell)

    Hi Greg,
    Thanks for posting on this forum. You can control the MSTW shortcode output by adding CSS rules to your theme’s or your child theme’s stylesheet (themes/theme-name/style.css). Hopefully you are using a child theme. (If not, please google wordpress child themes and create one. You can thank me later.) Anyway, if you wanted all the text to be white in your schedules, you could add something like this rule:

    table.mstw-lm-team-schedule {
      color : white;
    }

    You can of course get a lot sexier with it, like changing the colors based on the team, for example see https://dev.shoalsummitsolutions.com/lm-team-schedules/

    I hope this helps you out.

    -Mark

    Thread Starter GM

    (@gmchoops)

    Ok…that worked, but I’m trying to apply that methodology to the week by week league schedule pages, and it is not working. I tried using this as the css code for the page https://bigcentralgridiron.com/2021-division-1a-week-by-week-schedule

    table.mstw-lm-league-schedule_big-central-conference-division-1a {
    color : white;
    }

    And it is not working.

    Plugin Author Mark O’Donnell

    (@markodonnell)

    The following seemed to work for me:

    table.mstw-lm-table.mstw-lm-gallery-table {
        color: white;
    }

    The cascading part of CSS can be a bit tricky. Do you know how to use the inspector in your browser? It’s a must for sorting these things out. Just google it.

    -Mark

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing Font Color for Darker Background’ is closed to new replies.