How to change background color of a form's section.

Confluence User - 28 Aug, 2020

How to change the background color of a form's section.

  1. A Section is subdivided into Columns and how to change those colors.
  2. How to Change the color of individual fields not just the Label, but Label plus Text.

Tried using Custom HTML It does not work . Any help would be appriciated.

<style type="text/css">
.section1 {
border: 5px outset red;
background-color: black;
text-align: center;
}
</style>


forms;userviews

2


31 Aug, 2020
confluenceUser
confluenceUser

Hi, you can use the browser to inspect and identify the CSS to change, for example this is the reference for Chrome https://developers.google.com/web/tools/chrome-devtools/css#view.

02 Sep, 2020
confluenceUser
confluenceUser

Hi, it is depend on how you override the css rules. There may have some css rules has higher precedence than your, then you will have to either add `!important` or modified your selector to make it more higher precedence. 

Example:

body #form-canvas div#section1 {
    border: 5px outset red;
    background: black;
    text-align: center;
}
RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print