Change Typeahead Search CSS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2025 10:09 AM
Hi everyone,
I need to change the CSS properties of the ".input-container":
border-radius: .8rem !important;
background-color: #E6F6EB !important;
border: none !important;
And the placeholder:
color: #00713F
font-weight: 700
If I change it directly in the browser for the ".input-container", it works. I haven't tested it for the placeholder yet.
But if I insert the CSS for the ".input-container" in the widget that calls "Typeahead Search", it doesn't work.
Does anyone know a way to make these changes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2025 10:08 AM
This way there was also no effect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2025 07:38 AM - edited 09-01-2025 07:40 AM
@leandrolope Try this is page specific css
#x199aecc4c7a83110b1c6677703c26078 input { // here after X the sys_id is your widget instance sys_id. You can find this in HTML through isnpect as well.
border-radius: .8rem !important;
background-color: #E6F6EB !important;
border: none !important;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2025 08:27 AM
@leandrolope did this work for you?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2025 10:02 AM
I did exactly as you suggested, but it had no effect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2025 10:05 AM
Strange and it worked perfectly for me. Make sure you are using correct widget instance and its in correct sp_portal page.