Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Content Publishing on the ESC Portal

Sagar Rd
Tera Contributor

Hi

 

I have create a content publishing for the ESC home page on the portal, and I have added a primary button which should navigate to a link on click. But I think by default the background of the button is blue but would like change the color. What are the best ways to do it.

 

Thank You

1 ACCEPTED SOLUTION

Shruti
Mega Sage
Mega Sage

Navigate to Service portal-> Pages

Open 'ec_pro_home'

Add below to page specific CSS section

.btn-primary{
background-color: red !important;     //replace red with new color code
border-color: red !important;             /replace red with new color code
}

View solution in original post

1 REPLY 1

Shruti
Mega Sage
Mega Sage

Navigate to Service portal-> Pages

Open 'ec_pro_home'

Add below to page specific CSS section

.btn-primary{
background-color: red !important;     //replace red with new color code
border-color: red !important;             /replace red with new color code
}