Font size in sourcecode shortcode

  • Author
    Posts
  • #1226222

    phoxis
    Member

    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 phoxis.org.

    #1226310

    justpi
    Member

    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>

    #1226364

    phoxis
    Member

    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

    #1226374

    justpi
    Member

    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.