Page 1 of 1
FormBuilder: how to adjust text colour and font style
Posted: Mon Mar 24, 2008 6:46 pm
by Ferdi
How know where ro how to change the font colour and style for FormBuilder-0.4.4. The general style sheets in the CMS does allow the adjust the size of a text box but I simply can't find where the otehr features can be changed. Now I have red text and a grey background and I want to have it in the style of the rest of the website. See
http://www.aanbestedingszaak.nl/cms/index.php?page=content_types
Re: FormBuilder: how to adjust text colour and font style
Posted: Sat Apr 26, 2008 3:52 am
by heffegg
Hi,
Add a section in your CSS to manage form elements.
This is an extract from mine, a number of elements have been left off, but you should get the idea.
From memory it is fieldset and fieldset legend that are giving you the Grey and Red colours, maybe label as well.
/* FORM ELEMENTS */
form {
font-size:80%;
margin:0;
margin-top:5px;
margin-left:10px;
padding:0;
padding:3px;
background-color: #fff;
border:1px solid #acb5a1;
width:100%;
}
form div,
form p {
margin: 0 0 1em 1em;
padding: 0;
}
label {
font-weight: normal;
}
fieldset {
border: 0px solid #eee;
/*padding: 5px 10px;*/
margin: 0 0 1.5em 0;
}
fieldset legend {
font-weight: bold;
margin: 0 0 0 0px;
padding: 0;
}
* html fieldset legend {
color:#454;
margin: 0 0 10px -10px;
}
Re: FormBuilder: how to adjust text colour and font style
Posted: Tue Apr 29, 2008 8:39 pm
by Nullig
Add:
.contactform fieldset {
padding: 1em;
background-color: transparent;
border-color: black;
width: 510px;
}
or whatever colors/settings you like.