Resize the How Can We help You type head search box in service portal?

SNOW46
Tera Contributor

Hi All,

I am working on Service Portal Configuration. I have renamed the How Can We help you" homepage search box to self help search and I have put it under first container.

But I want it to place it just under the First container so that it wont take any white space.

And also I want to put some gap from the header menu and the below container where it is starting. It shows as black line under the header menu.

 

Can anyone suggest me how to achieve this?

 

1 ACCEPTED SOLUTION

Chandra Prakash
Tera Expert

Hi,

you can try this in your widget.

<div id="homepage-search" class="hidden-xs wrapper-xl">
<div class="wrapper-xl" style="margin-top:10px">
<h1 class="text-center text-4x m-b-lg sp-tagline-color" ng-bind="options.title"></h1>
<h4 ng-if="options.short_description" class="text-center m-b-lg sp-tagline-color" ng-bind="options.short_description"></h4>
<sp-widget widget="data.typeAheadSearch" />
</div>
</div>

 you can set margin-top as per requirement.

mark correct or helpful if it helps.

Regards,

Chandra Prakash

View solution in original post

9 REPLIES 9

SNOW46
Tera Contributor

Hi All,

Can anyone post some answers for my query so that I can implement the same.

 

 

Below thread should be helpful

https://community.servicenow.com/community?id=community_question&sys_id=2afbc325db9cdbc01dcaf3231f96195e&view_source=searchResult

https://community.servicenow.com/community?id=community_question&sys_id=02b343a5dbd8dbc01dcaf3231f9619ab&view_source=searchResult

Thanks

Wybren1
Tera Guru

It's a CSS class called 'wrapper-xl' which gives a padding of 50px;

You can change this in customizing a 'Theme' by adding a CSS line;

Example
#homepage-search.wrapper-xl {

padding10px !important;

SNOW46
Tera Contributor

How to locate the same widget and reflect the changes. Can you please suggest me with screenshots as I am totally new to SP working on it. I want to learn more and explore something new.