Forums

[Theme: The Erudite] Reducing size of superscript text (2 posts)

  1. richnewman
    Member
    Posted 9 months ago #

    I'd like to be able to reduce the size of superscript text (and I am guessing subscript as well) by a couple of points, but I cannot figure out how to do this. Can anyone help me out? Thanks.

    http://wordpress.org/extend/themes/the-erudite/

  2. peredur
    Member
    Posted 9 months ago #

    Well, it's just the <sub> and <sup> elements isn't it. So just create a style rule:

    sub, sup {
      font-size: n units;
    }

    Where n units represents the size you want in the units you want. But don't use points. Pixels, if you must, but percentages or ems for preference.

    I doubt the rule will have to be any more specific than that since they are not heavily used elements.

    Ideally you'd do this in a child theme's style.css file, but if you must, it would go in the theme's style.css file.

    HTH

    PAE

Reply

You must log in to post.

About this Topic