You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#116988 Superscript large font size

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by rdekker on Tuesday, 10 December 2024 12:08 GMT

rdekker

Hello I want to realize " 4th place" with th in superscript with font size 36.

Unfortunately this doesn't work, as a workaround I created a slider in smartlider but I prefer a custom module for this.

can this be realized with JCE?

Attached the JCE and Smartslider printscreen

Attachments

Ryan

Please post a link to an example on your site.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

rdekker

Testsite:

https://raisaschoon.rdekker.nl/index.php/en/

Homepage English has both the smartslider and joomla module online.

Ryan

The module is not using a <sup> element for the superscript, and is styling the effect using custom css.

Your template stylesheet styles the <sup> element with a font-size of 0.75rem, which is standard, but smaller than you would like.

You can change in the template's custom.css file, with:

sub, sup {
  font-size: 1.75rem;
}

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

rdekker

Thanks for you support, it's working now.