Search bar move a bit lower on the Service Portal page

Vamsi26
Tera Contributor

Hello everyone,

I want to bring the search bar a bit lower on the page in Service Portal.

How can i achieve this?

 

Vamsi26_1-1714454130662.png

 

Thanks

 

1 ACCEPTED SOLUTION

Ranjit Nimbalka
Mega Sage

Hi @Vamsi26 ,

 

Yes in CSS field add below code and adjust value according to your requirement.

 

.input-group {
width: 90%;
left: 50%;
top: 50%;
transform: translate(-50%, 100%);
}

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

 

View solution in original post

4 REPLIES 4

Ranjit Nimbalka
Mega Sage

Hi @Vamsi26 ,

 

CTRL+ Right Click >> Instance in Page Editor

update the transform value 

.input-group {

transform: translate(-50%, -30%);

}

 

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

Hello Ranjit, 

I got page like where do i write the code.

 

Vamsi26_0-1714455612694.png

 

Vamsi26_1-1714455664879.png

 

Hi @Vamsi26 add the below mentioned code in CSS field.

.input-group {
   top: 30px;
}

SiddharamTakali_1-1714457059775.png

 

SiddharamTakali_2-1714457119755.png

https://www.servicenow.com/community/developer-blog/the-ultimate-service-portal-css-guide/ba-p/22901...

 

Please mark my answer Correct/Helpful,

Regards,

Siddharam

Ranjit Nimbalka
Mega Sage

Hi @Vamsi26 ,

 

Yes in CSS field add below code and adjust value according to your requirement.

 

.input-group {
width: 90%;
left: 50%;
top: 50%;
transform: translate(-50%, 100%);
}

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