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?

label and text field inline

More
10 years 3 months ago #710 by xhl475
label and text field inline was created by xhl475
label one line, text field in next line, can I put them in a line?
Can I put two fields in one line?
How to use Layout css class?

Thanks

More
10 years 3 months ago - 10 years 3 months ago #712 by Administrator AV
Replied by Administrator AV on topic label and text field inline
Hi,

by default label and input are always inline. So if label and input are not in the same line , that is also caused by your template css.

A multi column layout (two fields in a line) is not possible with visforms.

I'm not quite sure what you mean with "Layout css class"?

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 :-).
Last edit: 10 years 3 months ago by Administrator AV.

More
10 years 3 months ago #714 by xhl475
Replied by xhl475 on topic label and text field inline
Thank you. The "Layout css class" is in the field. css class for label and css class for field.
I noticed there is a Edit Css button, So I can edit css. Is this for all forms?
And also the input have round green border, how can I change the color?

Thanks again.

More
10 years 3 months ago #715 by Administrator AV
Replied by Administrator AV on topic label and text field inline
Hi,

you can set an individual value for the class attribute of the field label and the field control (input i.e.). These values are added to the default value. So if you have - for example - an input, which has by default a class attribute with value "inputbox visCSSinput" and you set an "css class for field" with the value "myInputClass" than this input will have the class attribute value "inputbox visCssinput myInputClass". "myInputClass is added only this specific field at the first place. But you can of course set the "css class for field" to the same value for different fields.

You can use "myInputClass" somewhere in your css files like your template.css, or the visforms.css (which is located in media/com_visforms/css folder) to give the field(s) specific css rules using standard css techniques.

The green border again is set by your template. As every template has an individual css, it is not possible without looking at the specific website with a developer tool to tell, where exactly the border-color (and the other layout problems you posted in this forum) are set and how to overrride it. You could send me a link and I would take a look and advice you about how to change your css, but actually this is much more than the usual amount of support you would get for a free Joomla! component and it would be very nice if you would reward that effort with a donation then.

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: xhl475

More
10 years 3 months ago #716 by xhl475
Replied by xhl475 on topic label and text field inline
Thank you for your help, I will figure out by myself.

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum