Move left header menu of Service Portal next to logo

Yasin Shaik11
Tera Contributor

Hi All,

 

Need help,

 

Out of the box, ServiceNow portal header menu is on right but I want to move the header menu on the left side just next to the logo. which widget I need to clone and what CSS code I need to add. please guide me. 

2 ACCEPTED SOLUTIONS

@Yasin Shaik11 Please add the below CSS this should fix the issue

 

CSS:

.navbar{
display: flex;
}
.navbar::after{
display: none;
}
.navbar-right{
flex-direction: row;
justify-content: space-between;
width: 100%;
}

 

Result:

jaheerhattiwale_0-1673514685702.png

 

 

Please mark all the answers on this question as correct answers

 

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023

View solution in original post

You can just write @jaheerhattiwale 

 

Like how you added in the reply 

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023

View solution in original post

14 REPLIES 14

Community Alums
Not applicable

jaheerhattiwale
Mega Sage
Mega Sage

@Yasin Shaik11 Go to "Service Portal > Portals"

Open your portal record and add below css in "CSS variables" field

jaheerhattiwale_0-1673509948212.png

 

CSS:

.navbar{
display: flex;
align-items: flex-start;
flex-direction: row;
}

 

Please mark as correct answer if this solves your issue.

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023

Hi Jaheer,

Its working as expected, Thanks 

Here I want to keep the login icon as same as earlier. how can we do that one. 

 

 

 

 

 

@Yasin Shaik11 Is login icon not at the same place?

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023