Font size in sourcecode shortcode

  • Unknown's avatar

    I recently noticed that the font size for the sourcecode shortcode has become larger than before which is not looking good. Is there any way to decrease the font size for the sourcecode shortcode?

    I suggest that the font size should be made to the previous size. With the previous size and the monospace font the code is perfectly readable. Can it be reverted back to the previous font size ?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    The font of the s.s. is defined as 1em, so the result varies from theme to theme. If you had the Custom Design upgrade, you could change this once for all. Without the upgrade you can only change it for each separate s.s.:

    <div style="font-size:80%;">
    SHORTCODE HERE
    </div>
  • Unknown's avatar

    Ugly horizontal bar has appeared in almost all codes. using the div tags is a solution, and I already use it to introduce vertical scroll bars, at this moment it will be really inconvenient to add those divs to every code to decrease font.

    Thanks for the answer @justpi

  • Unknown's avatar

    You’re welcome.
    Of course it’s inconvenient. The convenient way would be the upgrade way…
    Or you might consider switching to a different theme.

  • The topic ‘Font size in sourcecode shortcode’ is closed to new replies.