changing the view of type head search on portal

Yasin Shaik11
Tera Contributor

@jaheerhattiwale 

 

Hi Jaheer,

Need help,

Whatever we have added type head search(PFA 01) on the header of the portal need to change the view as per the given attachment i.e 02. this search taken a reference from the hotstar page. 

Please guide me what are the changes are required to achieve this one. 

1 ACCEPTED SOLUTION

@Yasin Shaik11 Got the issue.

 

Add !important after the color like in below image

 

jaheerhattiwale_0-1674040716639.png

 

 

Result:

jaheerhattiwale_1-1674040729749.png

 

 

Please mark as correct 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

6 REPLIES 6

jaheerhattiwale
Mega Sage
Mega Sage

@Yasin Shaik11 Add the below css in the portal record

 

.input-group-typeahead{
border-bottom: white 1px solid;
}

.input-typeahead{
background: black;
border: black;
color: white;
border-radius: unset;
}

.input-typeahead::placeholder{
color: white;
}

.input-group-btn button{
background: black;
color: white;
border: none;
border-radius: unset;
}

 

jaheerhattiwale_1-1674029378314.png

 

 

 

 

Result:

jaheerhattiwale_2-1674029390388.png

 

Change the colors as per your requirement

 

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

@jaheerhattiwale 

Hi Jaheer,

Thanks for your reply,

It is working fine. Here i would like to change the font colour (Actually ,letters we are typing) for that please refer the attachment. 

@Yasin Shaik11 I added the color as white. Change the color you want in css

jaheerhattiwale_0-1674034092158.png

 

 

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

@jaheerhattiwale 

Hi Jaheer,

I have made the changes accordingly we can see the output as attached below. but typing letters colour are not changed its remains same only. like for example in the image Ths.01 i want to changes font(in the image  Ths.01 i have typed the Abcd ) which is exactly typed by the user. these things i need to change.