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 Online

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

#109030 How does a template know the JCE style classes (e.g. for columns: wf-columns wf-columns-stack-medium ...)

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 Ryan on Friday, 08 October 2021 09:49 BST

gmuennich
Hello,
I installed JCE Pro and inserted "columns" into an article. It is displayed nicely on webpage.

How does the webpage (the used template) know the specific JCE styles classes, which are used for columns, e.g. wf-columns, ...?
Is there no need to write those style classes into a custom.css?

Regards,
Gerhard

Ryan
How does the webpage (the used template) know the specific JCE styles classes, which are used for columns, e.g. wf-columns, ...?
Is there no need to write those style classes into a custom.css?


If you are using the Generic CSS Framework (you can set the Framework in Editor Profiles -> Plugin Parameters -> Columns), then the styles used are taken from the stylesheet loaded by the JCE System plugin.

If you are using the Bootstrap or Yootheme Framework, then the generic styles are converted into the selected framework styles when the article is saved, and your templates stylesheet is used (and a little bit from the JCE System Plugin for browser compatability)

Ryan Demmer

Lead Developer / CEO / CTO

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