Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #16509

    I am working on a website that has a lot of scientific content that requires the use of superscipted text (+) (-) as well as registered trademark symbols that are superscripted. No matter what I try, I cannot get them display as superscript on the website. I’m using <sup>+</sup> and it shows as superscript in the Visual on the admin panel, but not on the page that is displayed. Any suggestions on what I can try?

    Thanks

    #91760

    Hey!

    Try to add following code to css/custom.css or the quick css field:

    body#top sup{
    vertical-align: super;
    }

    body#top sub{
    vertical-align: sub;
    }

    Best regards,

    Peter

    #91761

    Thanks – that worked!

    #91762

    What else do I need to add to the quick css field to get the superscript to display in the widgets and headers?

    Thanks

    #91763

    Hi,

    Try,

    body sup{
    vertical-align: super;
    }

    body sub{
    vertical-align: sub;
    }

    Actually, Peter’s snippet should do the trick for every superscript you have.

    Regards,

    Ismael

    #91764

    Thanks.

    #91765

    Hi RiboMed,

    Glad we could help. :)

    Cheers,

    Ismael

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Can't superscript text’ is closed to new replies.