• Resolved namgostar

    (@namgostar)


    Hi.

    I’m trying to color specific cells different colors. I found the instructions here:

    How can I highlight certain cells or their content? https://tablepress.org/faq/

    Using the suggested code instructions, this is what I have:

    .tablepress-id-10 .row-2 .column-A {
    	background-color: #FCD5B4;
    	color: #000000;
    }

    It is not working. I’ve tried many different things. Can you please assist?

    P.S. I do have code in the same custom css box that DOES work, so I’m not sure what is happening. E.g.

    .tablepress thead th {
    	background-color: #ffffff;
    }

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

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The problem is how you used letters and not numbers for the columns in the CSS. Please try again with

    .tablepress-id-10 .row-2 .column-1 {
    

    instead of

    .tablepress-id-10 .row-2 .column-A {
    

    in your CSS. Columns must also use numbers, and not letters.

    Regards,
    Tobias

    Thread Starter namgostar

    (@namgostar)

    Oh wonderful! It’s an easy fix, and it worked! Thank you so much for the explanation.

    Plugin Author TobiasBg

    (@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 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cell colors css not working’ is closed to new replies.