• Resolved thunderfoot

    (@thunderfoot)


    I plugged in the following code in my CSS

    .katex { font-size: 4.1em; }

    I set it at a ridiculous number 4.1. However, it does not render the equations large. Take a look, the equations still look small.

    What am I doing wrong?

    Thanks.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ascom

    (@ascom)

    The CSS on your page does not work because the selector has low specificity and is overridden by the KaTeX CSS that comes after your inline CSS.

    Increase the specificity (e.g. .katex.katex.katex { ... }) or use !important.

    • This reply was modified 5 years, 5 months ago by ascom.
    Thread Starter thunderfoot

    (@thunderfoot)

    Thank you that worked.

    I don’t code therefore do not understand the reasoning. Glad you are around to help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Font size issue’ is closed to new replies.