# Remove Background Color on Menu Item Hover and Focus

> Please note that this is now available as a plugin for easier installation. While you can use this document as a reference, the recommended method to add…

Source: https://tadabase.com/docs/snippets/remove-background-color-on-menu-item-hover-and-focus  
Status: Not yet re-checked. Moved from our previous help site and not yet re-checked against the current product. Last edited Sep 20, 2024.

> **Warning:** Please note that this is now available as a plugin for easier installation. While you can use this document as a reference, the recommended method to add this functionality is through the plugin installation wizard. Learn more about plugins [here](https://tadabase.com/docs).

![Screenshot for “Remove Background Color on Menu Item Hover and Focus”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2022-09/a0f6da652f203c07e638fc0a03650c45f3164d3d.gif)

This is a solution to remove the background for menu items when hovering or clicking on them, as shown in the GIF above.

**One Easy Step**

**Add the following code to the CSS tab of your layout or page. This will set the background for menu items to “transparent” when hovering and clicking on them.**

```
.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus {
    background-color: transparent;
}
```

![Screenshot for “Remove Background Color on Menu Item Hover and Focus”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2022-09/scaled-1680-/2022-09-16_23-40-44.png)

**Original Community Post:**

[Remove background color on Menu item hover and focus - Community Discussions / Tips and Tricks - Tadabase Community](https://community.tadabase.io/t/remove-background-color-on-menu-item-hover-and-focus/1600)
