@import in CUSTOM CSS doesn't works anymore on 6.1.1

@import rule in ChronoForms custom CSS fails after an update.

Overview

The issue occurred after updating to CF 6.1.1 or 6.1.2, where the @import rule to load a central stylesheet stopped working.
Replace the @import rule in the CF custom CSS with a standard HTML link tag in an HTML module to load the external stylesheet.

Answered
ChronoForms v6
mo morphinestyle 08 May, 2019
This string seems not working anymore after 6.1.1 update...


@import in CUSTOM CSS doesn't works anymore on 6.1.1  image 1


Our forms are "centralized" with an unique CSS but it doesn't load anymore the style after the 6.1.1 Chronoforms update.
We can't update Chronoforms on all our websites because we will lose all settings.
mo morphinestyle 08 May, 2019
In this moment i see at the same time:
- version 6.1.1 as LATEST VERSION on https://www.chronoengine.com/blog
- but i see 6.1.2 on Joomla update...

So, maybe doesn't works after 6.1.2 version?
he healyhatman 09 May, 2019
The blog isn't always updated. 6.1.2 is the newest.

w3schools says @import has to be at the top of the document, I doubt that would be the case. Can you just import it normally with <linkrel="stylesheet"type="text/css"href="mystyle.css"> ?
mo morphinestyle 09 May, 2019
Yes healyhatman,
but it was working perfectly... and what sense to load another css, with specific forms rules, to the full website?

And more: to "move" a full functionant form from-to other websites you need only to Export the form, and just re-Import it elsewhere without code/update any website for CSS loading.
Max_admin Max_admin 11 May, 2019
I tried this here and the @import line is added to the page source code, how does it work for you ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
mo morphinestyle 23 Sep, 2019
Solved with an HTML MODULE with <link rel="stylesheet" href="...">, but with a CSS module with @import it doesn't works anymore.
This topic is locked and no more replies can be posted.