Joomla 5 Notice

We are pleased to announce that as of January 29, 2024, all of our Joomla extensions are compatible with Joomla 5.

For all who are still updateing from Joomla 3 to Joomla 4: Joomla 4 Migration instructions are available here:

There is now a separate Documentation for Visforms for Joomla 4 and for Visforms for Joomla 5!

Forum

Visforms Subscription user can ask questions in our forum. Please log in with the relevant user first.
Everybody can access the forum for reading.

Please only ask 1 question per topic.

Important information for almost every question:
V1: Which Visforms version is running?
V2: Which Joomla version is running?
V3: Which PHP version is running?

Problem with "CSS 'image' (content)"

More
10 years 3 weeks ago #996 by demonx
Problem with "CSS 'image' (content)" was created by demonx
Hello,

I'm using Joomla 3.3.6 and Visforms 3.1.1.
I've some problem (conflicts ?) with a contact page created with Visforms : The search icon bug.
Screenshot (Because it's an offline website at the moment) :
With Google Chrome
With Firefox

On another page (without Visforms)

All the CSS with "content" style bug.

Is this an encoding problem ? (UTF8, UTF8 - Without BOM)
Or is this another problem ?

Thanx.

PS: Sorry for my "bad" english

More
10 years 3 weeks ago #997 by Administrator AV
Replied by Administrator AV on topic Problem with "CSS 'image' (content)"
Hi demonx,

your English is quiet ok!.

This is just a guess, because it is very hard to debug such a behaviour without looking at the source code of the website.

Some Visforms field types (like date fields), which are created through the Joomla! Framework code, use some of the Joomla! default IcoMoon Icons.
When Visforms is used on a Website/Template that is not based on the bootstrap framework, it may happen that IcoMoon Icons are not available through the template.
Therefore I included the default Joomla! IcoMoon font and the css code, that is necessary to make the 3 Icons, used by Visforms, work, into the visforms.css file.

Therefore now visforms.css has the following code.
Code:
[class^="icon-"]:before, [class*=" icon-"]:before { font-family: 'IcoMoon'; font-style: normal; }

When a template comes with it's own custom IcoMoon fontset (which is quite ok by itself), but uses the "icon-"prefix (which is reserved for the Joomla! IcoMoon) instead of a custom prefix, this may cause a problem.
I think, this is the source of your problem.
If you implement as a third party developer, in my opinion, you always have to respect the framework code, defaults and standards which are used by everybody and you have to make sure that, if you want to use something different, you mark it as custom and make sure it does not interfere with the default. Otherwise people, like you, have a lot of extra work and trouble.

If this is the source of your problem, you can try, if the icoMoon icons, used by Visforms, are available in the IconFont that comes with your template.
Just uncomment the css code from above in the visforms.css file in media/com_visforms/css by enclosing it with /* */
Code:
/*[class^="icon-"]:before, [class*=" icon-"]:before { font-family: 'IcoMoon'; font-style: normal; }*/

It's only the icon-calendar, icon-arrow-down-3 and icon-arrow-up-3 icons of the default Joomla! icoMoon, which are used in some situations in Visforms and in might well be, that your form doesn't use them at all, so that it might be no problem when you uncomment the css code, anyway.

Hope I could help.

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).
The following user(s) said Thank You: demonx

More
10 years 3 weeks ago - 10 years 3 weeks ago #998 by demonx
Replied by demonx on topic Problem with "CSS 'image' (content)"
Hi,

Thanx you for you quick response.

My website use the Framework "Helix II", and this template use Bootstrap.
And yes, this template use icons whits "icon-" prefix.

I commented the lines, and it's work !
Code:
/*[class^="icon-"]:before, [class*=" icon-"]:before { font-family: 'IcoMoon'; font-style: normal; }*/

Thanx you very much for your help.

Best regards
Last edit: 10 years 3 weeks ago by demonx.

More
10 years 3 weeks ago #999 by Administrator AV
Replied by Administrator AV on topic Problem with "CSS 'image' (content)"
Hi,

glad to hear this.
You're welcome.

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum