• Resolved Jerry

    (@gerard749)


    Hi,

    Using the thematic theme’s default fonts, I am trying to have all the numbers be the same size and line up the same as letters do. I tried using the following CSS in my child theme and making adjustments but nothing happens.

    sup,
    sub {
    	height: 0;
    	line-height: 1;
    	vertical-align: baseline;
    	position: relative;
    }
    sup {
    	bottom: 1ex;
    }
    sub {
    	top: .5ex;
    }

    Thank you for your time

    Jerry

Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you link to a page with the issue?

    Thread Starter Jerry

    (@gerard749)

    Hi,

    Thank you for your response ( Test1 ).

    I have spent many hours on this including trying this CSS I have come across a number of times:

    sub,
    sup {
      font-size: 75%;
      line-height: 0;
      position: relative;
      vertical-align: baseline;
    }
    
    sup {
      top: -0.5em;
    }
    
    sub {
      bottom: -0.25em;
    }

    Thank you for your time.

    Jerry

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Where are the <sup> and <sub> elements on that page?

    Thread Starter Jerry

    (@gerard749)

    I didn’t respond to your question at first because I didn’t want to open the issue that I use two sets of child pages. When I realized the numbers didn’t line up and were not the same size was just the way the Georgia font was I should have responded and didn’t. I apologize for that.

    Thank you for your time
    Jerry

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘superscript subscript’ is closed to new replies.