Question
Accenture
IN
Last activity: 16 Oct 2018 12:03 EDT
Can we change the background colors of the screens based on condition? Please let me know can we change background colors dynamically in CSS?? please share the posibility ways..
Hi PegaDevelopers,
Can we change the background colors of the screens based on condition? Please let me know can we change background colors dynamically in CSS?? please share the posibility ways..
Thanks and Regards,
Bhuveen
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Capgemini Sverige
SE
Tetco
SA
Hi Bhuveen,
Refer this pega OOTB section, pzWarningsIntroducedChartByTeam it has different layouts with different backgrounds, u can implement in similar manner.
Accenture
IN
Hi All,
Need more clarity on this? you are saying that changes in the section ? if yes, my requirement is different, based on the country need to set background color for portals. EX: An operator belongs to india, after login bg color is blue, an operator belongs to singapore, after login bg color is red like this? do we need to create CSS for each country?? we are using common harness for all countries..
Thanks and Regards,
Bhuveen
Capgemini Sverige
SE
Hi bhuveen,
I can suggest you two approaches.
1. Circumstanced the skin rule on the basis of region of operator.
2. If your have application have different units(Ex - Countries here), you can save skin rule in respective unit ruleset.
try them and let us know if they works.
Regards,
Prashant
Accenture
IN
Thanks Prasanth, i will check and let you and i have got one more approch. can We change in harness-->scripts&styles tab -->stylesheets.. can we do?
-
Faizan Bhat Durga Bhavani Vootla
Capgemini Sverige
SE
Yes u can do
Capgemini Sverige
SE
Hi Bhuveen,
Is your problem solved?
Jpmc
IN
Hi Bhuveen,
Did you get a solution for this problem? To dynamically change the background of the screen from one color to another color without refreshing the screen.
2. Is there anyway that we can easily update the stylesheet without logging into to stylesheet everytime there is a change in DSS Class.
Pegasystems Inc.
IN