Question

How to apply color on record page fields

Hi Team,

 

I want to apply color on the record page fields (without any conditions) and I have found this article https://customerfx.com/article/adding-custom-css-style-sheets-in-bpmonline/ but I am not good with CSS, so can anyone please tell me 

If I want to apply a color on any field then In the below code : 

#OpportunityPageV2AmountFloatEdit-el should be replace with what in my scenario ?

 

And also How to make a text bold in text field, like in the below screenshot how to make "Benefits" (which is a default value in text field) bold ?

 

 

Thanks for your time.

Like 0

Like

1 comments
Best reply

Hi Akshit,

 

Righ-click on the field and choose the "Inspect" option:

Once done you will see the page HTML:

In your case you need to choose the element name (marked with the arrow as an example of the https://customerfx.com/article/adding-custom-css-style-sheets-in-bpmonline/ article).

 

As for your second question - use the font-weight attribute. As a result you should get something like this:

#OpportunityPageV2AmountFloatEdit-el{
	background-color: red;
	font-weight: bold
}

and the result is:

Best regards,

Oscar

Hi Akshit,

 

Righ-click on the field and choose the "Inspect" option:

Once done you will see the page HTML:

In your case you need to choose the element name (marked with the arrow as an example of the https://customerfx.com/article/adding-custom-css-style-sheets-in-bpmonline/ article).

 

As for your second question - use the font-weight attribute. As a result you should get something like this:

#OpportunityPageV2AmountFloatEdit-el{
	background-color: red;
	font-weight: bold
}

and the result is:

Best regards,

Oscar

Show all comments