Support » Plugin: TablePress » formatting cells

  • Resolved Alex H

    (@alex-h)


    Hi

    I am trying to format a set of cells in a table of three columns, all of which are links to other posts.
    I am using the following code, but it doesn’t appear to work, as the colour is remaining the sites default colours

    .tablepress-id-45 .column-1,
    .tablepress-id-45 .column-2,
    .tablepress-id-45 .column-3 {
    font-family: lora;
    font-size: 14px;
    color: rgb(41,112,74);
    border: none;
    width: 300px;
    }

    .tablepress-id-45 .row-hover tr:hover td {
    background-color: #ff0000;
    color: #00ff00;
    }

    Could you tell me where I have gone wrong?

    Many thanks

    Alex

    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 question, and sorry for the trouble.

    Your CSS code would format the cells, but not the links in the cells. For that, please try this:

    .tablepress-id-45 a {
      font-family: lora;
      font-size: 14px;
      color: rgb(41,112,74);
    }

    The CSS for the row hover is not being taken into account, because you seem to have turned that feature off on the table’s “Edit” screen, right?

    Regards,
    Tobias

    Thread Starter Alex H

    (@alex-h)

    Thanks Tobias for your help

    Unfortunately, that its not working for some reason

    Alex

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    I don’t see the changed CSS in your page… Is this really in your “Custom CSS” now?

    Regards,
    Tobias

    Thread Starter Alex H

    (@alex-h)

    My apologies – it was a long day yesterday

    I have put the code into the live site Custom CSS, but was looking at the staging site pages !!

    Apologies for wasting your time

    Thanks for your help

    Alkex

    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 5 replies - 1 through 5 (of 5 total)
  • The topic ‘formatting cells’ is closed to new replies.