How to add css styles for individual text fields in chronoforms 7, e.g. font background colors, etc. Can each field be colored independently? Where to insert the css code?
Forums
The css styles of individual text fields
Hi sylwebk,
If you click the Custom button in the form menu bar you can drag a CSS block into the form and dd CSS there to override the default colouring etc. Make sure you use the element IDs to link the CSS to the elements.
Bob
If you click the Custom button in the form menu bar you can drag a CSS block into the form and dd CSS there to override the default colouring etc. Make sure you use the element IDs to link the CSS to the elements.
Bob
Hi sylwekb,
Yes, I just checked and that appears to be the case. You can test your CSS with the Admin View though - that works and lets you see the CSS applied.
Bob
Yes, I just checked and that appears to be the case. You can test your CSS with the Admin View though - that works and lets you see the CSS applied.
Bob
Can you give an example of how to style a text box please? I have used
#name {
text-align: center;
color: red;
}
but nothing happens ans the css is not saved,
#name {
text-align: center;
color: red;
}
but nothing happens ans the css is not saved,
Hi gnash,
That appears to work when I test it. Where are you adding the CSS?
Bob
That appears to work when I test it. Where are you adding the CSS?
Bob
You need to login to be able to post a reply.