• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Advanced Fields CSS ordering

Advanced Fields CSS ordering 3 years 3 months ago #41797

  • rogere
  • rogere's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Please correct me if I'm missing the boat, thank you.

In using the Advanced Form Fields plugin, which is fabulous, but I have to put CSS at the template level rather than in the form editor to be at a level to get the fields to have the attributes want. Shouldn't the CSS in the Form Editor be next to last on the CSS cascading ordering (just prior to element attributes)? This seems like a no-brainer, but maybe I'm not fully understanding. "formplate.css" seems to be taking priority over the form editor CSS. I think formplate.css is part of the Advanced Form Fields plugin, but I haven't taken the time to search it out.

Yes, it is easy to modify the template CSS, but these should be form specific attributes - not global, site-wide attributes. I'm just trying to change the color of the Switch field which has two states (unchecked, checked).

I look forward to greater minds than I to answer! Thank you!
The administrator has disabled public write access.

Advanced Fields CSS ordering 2 years 9 months ago #42110

  • info5963
  • info5963's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 1
I'm trying that too, but unfortunately without success. Have you made any progress here?
It would also be good if you could enter a text (on/off) here. That can certainly be done with CSS, but I don't know how.
The administrator has disabled public write access.

Advanced Fields CSS ordering 2 years 8 months ago #42144

  • dragos
  • dragos's Avatar
  • OFFLINE
  • Administrator
  • Posts: 634
  • Thank you received: 117
rogere wrote:
...

I'm just trying to change the color of the Switch field which has two states (unchecked, checked).

...

Hello,

While editing your form, go to Form Properties tab > CSS and JavaScript > CSS area and add something similar:
<style>
 
.formplate .fp-toggler.checked {
  background-color: red;
}
 
</style>
The administrator has disabled public write access.
The following user(s) said Thank You: info5963
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!