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.

How to add boarders for esc portal page

Sailakshmi Budd
Tera Contributor

I want to add a boarder only on left side of esc portal page.

 

4 REPLIES 4

Ratnakar7
Mega Sage

Hi @Sailakshmi Budd ,

 

You can add custom CSS styles to your portal. Here's an example of how you can add a left border to a specific element:

/* Add a left border to the container element */
.your-portal-container {
    border-left: 2px solid #000; /* You can customize the width and color */
}

 

Thanks,

Ratnakar

Unique45
Mega Sage
Mega Sage

Hello @sailakshmi ,

Can you please provide a screenshot of where you want to add a border?  

 

Please mark correct/helpful if this helps you!

SailakshmiBudd_0-1703745889676.png

 

Unique45
Mega Sage
Mega Sage

@Sailakshmi Budd 

1)Navigate to Service Portal and open pages:

Pratiksha_PP_0-1703746838082.png

2) Select page on which you want to add border and add following CSS in Page Specific CSS:

 

main.body {
border-left: 2px solid #ff0000; /* Add your colour*/
}

 

Pratiksha_PP_2-1703747301763.png

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

Please mark correct/helpful if this helps you!