Change Colour of Background for different forms

Hey there,

I was thinking of changing the background colour of some forms i'm working on, as they'll be easier to identify when used, and wondered what the best way for this.

I had a look at the templated for the forms, but wasn't sure this was the right place, also not sure about duplicating what could be many form templates, just to change the background.

Thanks
 
You dont' need custom templates, you can do this with custom CSS, e.g.
in
components\com_fabrik\views\form\tmpl\bootstrap\custom_css.php
(if you don't have custom_css.php rename custom_css_example.php)

add
#form_X, #form_X_$rowid {
background:red;
}
for every form (X = form Id) your want to set a background
 
That worked well thank you.

If I wanted to change the background colour of blocks of 2 rows (so row 1 and 2 are say blue and row 3 and 4 are day red) how easy would it be to do that?


Sent from my iPhone using Tapatalk
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top