# Overwrite knowledge base modules (like search box)

**URL:** <https://community.hubspot.com/t/overwrite-knowledge-base-modules-like-search-box/121709>\
**Category:** Knowledge Base Tool\
**Tags:** content\
**Created:** [December 2, 2024, 2:43pm UTC](https://community.hubspot.com/t/overwrite-knowledge-base-modules-like-search-box/121709 "2024-12-02T14:43:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nisse](https://avatars.discourse-cdn.com/v4/letter/n/9e8a1a/32.png) [@Nisse](https://community.hubspot.com/u/Nisse)\
**Post date:** [December 2, 2024, 2:43pm UTC](https://community.hubspot.com/t/overwrite-knowledge-base-modules-like-search-box/121709/1 "2024-12-02T14:43:45Z")

</div>

Hi,

Currently testing with overwriting some basic css, in this example the search box used in the **new** knowledge base. In the example I’m trying to overwrite the .hs-kb-search-input-wrapper.

I added a stylesheet with the class, but it doesn’t seem to apply. What am I doing wrong?

 ![Nisse__2-1733150555568.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/4/3400f00b3fd99a20332a7865ceedf8cbb0eff62e.png)

---

<div class="post-metadata">

**Author:** ![FarioConsulting](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@FarioConsulting](https://community.hubspot.com/u/FarioConsulting)\
**Post date:** [December 2, 2024, 4:44pm UTC](https://community.hubspot.com/t/overwrite-knowledge-base-modules-like-search-box/121709/2 "2024-12-02T16:44:26Z")

</div>

Hi,

Could you check to see if there are any inline styles or specific module styles affecting that class.

FYI to bump up the priority of your style, you can use “!important” after your declarations.

Also if moving things around in HubSpot’s editor is an option, placing it higher up or using the Styles tab within the page editor might help get it to apply correctly.

Cheers,  
Harsh  
[Fario Consulting](https://farioconsulting.com)

---

<div class="post-metadata">

**Author:** ![TomM2](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tomm2/32/70887_2.png) [@TomM2](https://community.hubspot.com/u/TomM2)\
**Post date:** [December 3, 2024, 12:17pm UTC](https://community.hubspot.com/t/overwrite-knowledge-base-modules-like-search-box/121709/3 "2024-12-03T12:17:12Z")

</div>

Hey [@Nisse\_](https://community.hubspot.com/t5/user/viewprofilepage/user-id/865425) I don’t believe the KB supports css customisations right now, so attaching the stylesheet to the domain likely won’t load your stylesheet within your KB even if it’s on that domain!
