New styles not applied and old ones vanished

New styles not applied and old ones vanished was created by ClaudioRomeo

Posted 1 year 7 months ago #66363
Yesterday, using the command Actions → Custom styles creator, I created a new, very simple style (it assigns the colour #0000FF to the text). I called the style Blue Text and the class BlueText. I saved and updated the template.
However, neither the style was recognised nor the class applied.
In addition, the saving procedure issued some messages.
So I restored the template to the previous version, but the warning messages remain and, more importantly, all my old styles have disappeared (there were about eight of them).
It seems that the old styles and classes that have disappeared are still usable, but I do not understand why they do not appear in Template Creator CK.
How do I get them to appear again in Template Creator CK?
And how do I create the new TestoBlu style?

Joomla! 3.10.11 + Template Creator CK 5.2.7 + PHP 8.0.24
www.claudioromeo.it

Counselor for better people in a better company

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic New styles not applied and old ones vanished

Posted 1 year 7 months ago #66366
Hi
if you restored your template (Actions >> restore), you can not have the problem remained. Check that you restored the correct version
you can also send me your gabarit .tck3z so that I can check
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by ClaudioRomeo on topic New styles not applied and old ones vanished

Posted 1 year 7 months ago #66368
I reverted to the most recent template.
All my old styles are present. Not the new one.
So I created it again, calling it Re (see image)

Saved and updated.
The Re style is not listed. The other ones are. (see image)

I will send you the gabarit.

Counselor for better people in a better company

Attachments:

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic New styles not applied and old ones vanished

Posted 1 year 7 months ago #66381
I have imported your garbarit, I see the custom style "RE" and others
saved the template, still working
installed the template, setup as default, I go into an article >> editor css classes >> RE is listed
I use Tinymce

I don't think that the problem is the template, try to clear all your caches, also the browser cache

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by ClaudioRomeo on topic New styles not applied and old ones vanished

Posted 1 year 7 months ago #66387
I will never learn!
I tried with TinyMCE, but Re was not available.
So I deleted the browser's cookies and suddenly everything worked fine.
I will never learn!
I will never learn!
I will never learn!
Thank you so much!

Counselor for better people in a better company

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic New styles not applied and old ones vanished

Posted 1 year 7 months ago #66388
cookies and caches are a pain :)

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.708 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 869 guests and no members online