• Resolved dmwesq

    (@dmwesq)


    I copied the css straight from the FAQ page

    .tablepress-id-N .row-X td { background-color: #ff0000; color: #00ff00; }

    I changed the table ID and row # for what I needed, and nothing. What am I missing?

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

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

    (@tobiasbg)

    Hi!

    Thanks for your post and sorry for the trouble!

    When I view the page from your link, I can see the first row (“September 2024”) with a red background and a green text color — just as that CSS does. So, everything appears to be working fine.

    Are you maybe seeing some older/cached version of the page?

    Regards,
    Tobias

    Thread Starter dmwesq

    (@dmwesq)

    That’s odd. I cleared the cache and nothing changed. I see the red now, and made another color change, cleared the cache, and the red color is still there and I checked it on both desktop and mobile, so I’m not sure what is going on.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    when I now check your link and the CSS code, I can see this chunk:

    .tablepress-id-11 .row-1 td
    .tablepress-id-11 .row-4 td {
    background-color: #80c8c5;
    color: #00ff00;
    }

    Note that this is slightly wrong: You must add a comma , between the selectors for different cells. Please try again after changing this code to

    .tablepress-id-11 .row-1 td,
    .tablepress-id-11 .row-4 td {
    background-color: #80c8c5;
    color: #00ff00;
    }

    Regards,
    Tobias

    Thread Starter dmwesq

    (@dmwesq)

    Thanks. Fixed the code – it works. Still can’t get it to show right on desktop even with clearing cache, but I see it on mobile and it looks fine.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    good to hear that this helped!

    I’m seeing the colored rows (on the month/year rows) just fine, on desktop. I really can only assume that there’s some caching involved for you somewhere…

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.