sub, sup {
font-size: 75%;
/* Zero out the line-height so that it doesn't
interfere with the positioning that follows */
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
/* Move the superscripted text up */
top: -1.25em;
}
sub {
/* Move the subscripted text down, but only
half as far down as the superscript moved up */
bottom: -0.25em;
}
Home
A full service web design company.
Portfolio
Responsive mobile ready web designs.
Pricing
Budget ranges for a website design.
Hosting
Recommended web host companies.
Reviews
Real Reviews from real clients.
Services
Website design services.
The Process
The web design process according to Divi Guy.
About
Who is the Divi Guy?
Logo Design
Logos I've made over the years.
Contact
Contact the Divi Guy now.
Hey, Thanks for this! Worked perfectly.
Awesome! You’re welcome!
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
Many thanks! Awesome. It solved my problem.
Awesome! Glad it helped!
Hi sorry I’m new to all this CSS stuff, I’ve added this code to the DIVI Options but what else should I do please? Might you do a step by step guide please? lol I’d really appreciate before I lose the will to live…
Hi Mazz,
There is nothing else to do, other than save the Divi options, unless you want to modify the CSS to suit your needs.