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.

#117062 Template classes custom name

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 livebuzz on Monday, 27 January 2025 13:05 GMT

livebuzz

Hi,

Is it possible to change how the name of classes from a template appears in the 'Styles' dropdown?

For example, if we have 'colour-1', 'colour-2', 'colour-3' in a template which is used on multiple websites, but each have different branding, can we change them for one website to be listed in 'Styles' as 'Red', 'Purple', 'Blue' on one wesbite, and 'Yellow', 'Black', 'White' on another website?

Thanks,
Mark

Ryan

You can do this with the Custom Styles field in Editor Profiles -> Plugin Parameters -> Style Select.

In the Custom Styles field, set a Title for the first class, eg: Red then add the class name in the Classes field.

Click the plus button to create a new Custom Style and repeat, eg:

Ryan Demmer

Lead Developer / CEO / CTO

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

livebuzz

Cheers Ryan!