How To Apply Helix Ultimate Styles To JCE Editor And Preview - Question | JoomShaper

How To Apply Helix Ultimate Styles To JCE Editor And Preview

C

Cat

Template 1 year ago

Hello, I'd like to know how I can apply Helix Ultimate template styles so that when I'm editing articles using the JCE (Joomla Content Editor) the content is shown with the appropriate template styling.

0
5 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #164863

Hi Cat.

In general it's question for JCE developer Support. But .... here is quick tip.


Check those two options from JCE:

JCE - Editor Global Configuration > Editor Styles and Custom CSS Files

administrator/index.php?option=com_jce&view=config

0
C
Cat
Accepted Answer
1 year ago #164919

Thank you for the quick reply. However, the JCE options you specify only control which CSS files are loaded. I would also like to include the CSS code entered into the "Template Options"->"Custom Code" section of the template's Style Editor. Are those stored in a CSS file?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #164932

In Helix based templates important are two files : template.css and custom.css if you used it.

JCE cannot use styles used in Custom Code > Custom CSS area. That's why I suggest to copy-paste into custom.css file. Is all clear now? If not >> joomlacontenteditor.net/support

0
C
Cat
Accepted Answer
1 year ago #165041

OK, I have created a custom.css file for the Custom Code > Custom CSS and that works. I am successfully loading both template.css and custom.css into the editor using the JCE configuration. But the Template Options ->Typography settings are not appearing.

So for example, in the Template Options ->Typography, H2 is set to a certain size and color. When I load a page in the frontend, the H2 style from Template Options is included as an inline style (H2 styled correctly). When I load the edtior, template.css and custom.css are loaded, but neither file contains the Typography template option H2 code (H2 style is not the same as in Template Options).

Are the Template Options ever compiled into css files? Have I missed a configuration somewhere?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #165072

I would try to set it inside custom.css , but as I said I am not JCE support.

0