• Resolved ruudm

    (@ruudm)


    I want to use different font sizes for my code block. For only a couple of lines, a font-size of 15px is fine, but sometimes I need to post a complete script, and then size of 13px is more suitable.

    I tried adding a custom class to the code block, but that doesn’t seem to work as expected. The class is rendered on the pre block that has a display:none on it, and not on the code block self.

    Another option might be using multiple Themes, but I have a custom theme and don’t see how I can replicate it and make a second custom one with only a smaller font size.

    Any ideas?

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

    (@andi-dittrich)

    to enable custom classes goto Enlighter -> Options -> Advanced and enable “Retain CSS classes”

    you can also using multiple custom themes by adding them as “external” as mentioned in the docs

    Thread Starter ruudm

    (@ruudm)

    Who that was fast ?? Thanks for the quick reply!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Different font sizes’ is closed to new replies.