Changing the color of the default new form
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
Sure, you can change the form view with CSS. Just assign a CSS class to a control which backgound color you want to change, say 'red-block' and define it following way in the CSS-editor:
Or if you want to change the background color of the whole form, insert the following code into CSS-editor:
Sure, you can change the form view with CSS. Just assign a CSS class to a control which backgound color you want to change, say 'red-block' and define it following way in the CSS-editor:
Code: Select all
.red-block {
background-color: red;
}
Code: Select all
#fd_form {
background-color: red;
}
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
Insert the following code into JS-editor:
And this to the CSS-editor:
Replace 'red' with the color you need.
Insert the following code into JS-editor:
Code: Select all
$('.ms-dlgContent', window.top.document).css('background-color', 'red');
Code: Select all
.ms-dialog body {
background-color: red;
}
-
- Information
-
Who is online
Users browsing this forum: No registered users and 4 guests