I would like to change the background-color of the forms (like: "Category:" , "Description:" , etc.) in the "add.html"-template. Where and how can I do this ?
Re: [Andy] bg-color on forms in "add.html" ?In reply to
Hi Andy,
I know this, but how can I set a different background-color for each of these fields ? How can I do this ? Do I have to do this somewhere where I create a column ?
Re: [erichcyber] bg-color on forms in "add.html" ?In reply to
Put all your styling in css global which is there and then for the different fields, <td> etc use the class="xyzxy". Would keep any change of colors at a later date be applicable to all pages where that has been included and make it manageable.
If coloring is within <td> tag then you could also use class="<%if ...%>name1<%elseif ...%>name2<%elseif .....>....<%else%> ... <%endif%>" within the <td .....> or <input type ... class= "<%if %> ....<%elseif...%>...<%endif%>" also.