Superscript and Subscript not Working in Front-end

GK User
Wed May 09, 2012 11:34 am
I have a problem with superscripts and subscripts not properly showing up in front end articles. When I create an article in the back end and format the text with a number as a superscript it all shows up nicely. But when I view the article on the frontend the superscript does not hold up. It rejects the formatting. I am using the theme "The World News II".

I have tested this with a clean joomla 2.5.4 (no other 3-rd party add-ons installed). The default joomla frontend theme doesn't have this problem. The moment I install and enable the Gavick themes, actually up to the "eSport" theme, the superscript format does not work. However the superscript works ok if you use the last three Gavick themes (With the theme "Restaurant"/"Apps Pro"/"League")

Superscript working on "Restaurant" theme:

Image

Superscript not working on "TWN II":

Image

I really need to make the subscript/superscript work on "TWN II".

Thanks for you help in how to solve this problem.
User avatar
Fresh Boarder

GK User
Wed May 09, 2012 12:26 pm
Hi

Please enable override.css file on template parameters and them try adding the following lines on this file:

Code: Select all
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}



Cheers ;)
User avatar
Platinum Boarder

GK User
Wed May 09, 2012 12:47 pm
Perfect! Works great. Thanks for the fast reply.
User avatar
Fresh Boarder


cron