This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
My own css styles of buttons and textareas
Started 12 years ago by alfonso | 2 posts |
-
I have created a new theme, then I select Advanced CSS Styles but I don't know how change CSS of textarea with this value, for example:
display: block;
border: 1px solid #ccc;
background: #f9f9f9;
display: block;
font-size: 14px;
line-height: 21px;
font-family: sans-serif;
padding: 3% 0; text-indent:10px;
margin: 0 0 15px;
width: 96%;
color: #888;I have got it with :
#main_body input.text, textarea.textarea {
display: block;
border: 1px solid #ccc;
background: #f9f9f9;
display: block;
font-size: 14px;
line-height: 21px;
font-family: sans-serif;
padding: 3% 0; text-indent:10px;
margin: 0 0 15px;
width: 96%;
color: #888;
}I also want to change button css and text area. How must I define? Thanks
Posted 12 years ago # -
Hi,
You can simply put the css code into your form theme advance css code. You can try with these codes :
#main_body input.text, #main_body textarea.textarea { display: block; border: 1px solid #ccc !important; background: #f9f9f9; display: block; font-size: 14px; line-height: 21px; font-family: sans-serif; padding: 3% 0; text-indent:10px; margin: 0 0 15px; width: 96%; color: #888; } .button_text { border: 1px solid #ccc !important; background: #f9f9f9; }
MachForm Support
Posted 12 years ago #
Reply
You must log in to post.