WordPress.org

Ready to get started?Download WordPress

Forums

The Erudite
Reducing size of superscript text (2 posts)

  1. richnewman
    Member
    Posted 2 years 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 2 years 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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic