Support » Theme: Leaf » Superscript and Subscript

  • How do I conserve superscript and subscript when writing a post?

    In the “visual” editor, the text appears superscript/subscript when I insert <sup> or <sub> tags but when I publish the post the text is no longer sub/superscripted.

    Cheers,
    kbad

Viewing 1 replies (of 1 total)
  • Theme Author bradthomas127

    (@bradthomas127)

    Sorry i don’t have them in the CSS, if you go to leaf options => Custom CSS => Enter something like this and save options:

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

    I have not checked the style above with the theme so you might need to adjust it.

Viewing 1 replies (of 1 total)
  • The topic ‘Superscript and Subscript’ is closed to new replies.