• Resolved nancylane

    (@nancylane)


    Hi Tobias,

    I am having trouble understanding what the CSS code needs to look like if I just want to change the font of a certain word or group of words within a cell. I know you have this article,

    https://tablepress.org/faq/highlight-cells-or-content/

    but I’m still confused on as to how to specify within the code exactly which words I want to alter. Any further help would be much appreciated.

    Thanks!

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

Viewing 1 replies (of 1 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    You would have to wrap the word/words that you want to highlight/influence in an extra HTML <span class="highlight"> tag, like

    This word is <span class="highlight">highlighted</span>.
    

    Then, you would to add CSS like this to the “Custom CSS”:

    .tablepress .highlight {
      color: #ff0000;
      font-weight: bold;
    }

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Changing the font of one word within a cell.’ is closed to new replies.