Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

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
Giga 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
Giga 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
}