# Drop Down Menu

**URL:** <https://community.shopify.com/t/drop-down-menu/636388>\
**Category:** Store Design\
**Tags:** customizations\
**Created:** [June 12, 2026, 3:35am UTC](https://community.shopify.com/t/drop-down-menu/636388 "2026-06-12T03:35:13Z")\
**Posts on this page:** 10\
**Page:** 1

## AI-generated summary

A Shopify store owner using the Testament theme wants to remove the outdated grey hover “block” behind the main navigation item while keeping the tan hover color on dropdown menu items.

The discussion identifies this as a CSS issue rather than a standard Shopify menu setting. Several replies suggest checking the theme editor first, but the most specific solution targets Testament’s actual navigation selectors:

```css
ul#main-nav > li:hover {
  background: transparent !important;
}
```

This rule should be added at the bottom of the theme stylesheet via Online Store > Themes > Edit code > Assets > stylesheet.css. It removes the grey parent-menu hover background while leaving the tan dropdown hover styling unchanged. An alternative is to set the parent hover background to the tan color instead of transparent.

One reply notes that the live site appeared to already show changes, supported by a screenshot. The main issue appears practically resolved through custom CSS, but a later comment reopens the topic by asking whether newer Testament updates or tools now allow managing hover effects without editing CSS directly.

<div class="post-metadata">

**Author:** ![shaunjones76](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@shaunjones76](https://community.shopify.com/u/shaunjones76)\
**Post date:** [June 12, 2026, 3:35am UTC](https://community.shopify.com/t/drop-down-menu/636388/1 "2026-06-12T03:35:14Z")

</div>

I have a shopify theme and with the menu and I need the block colour to not be a colour. So when you hover over the Menu and then Drop Down the Menu, hovering over a field, I want the colour to remain as it is which is Tan, but dont want the outdated Block to show, so when hovering the animated block colour doesnt show, just the other colour being the Tan colour.

my page is - www.shaunjones.com.au

---

<div class="post-metadata">

**Author:** ![oliviacarter361](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/oliviacarter361/32/410361_2.png) [@oliviacarter361](https://community.shopify.com/u/oliviacarter361)\
**Post date:** [June 12, 2026, 4:08am UTC](https://community.shopify.com/t/drop-down-menu/636388/2 "2026-06-12T04:08:15Z")

</div>

It sounds like the hover effect is being controlled by your theme’s CSS rather than a menu setting.

You may want to inspect the menu element in your browser and look for a CSS rule that changes the background color on hover, something similar to:

```auto
.menu-item:hover,
.dropdown-item:hover {
    background-color: transparent !important;
}

```

If you’re using a premium or heavily customized theme, the exact class names may be different.

Could you share the name of the Shopify theme you’re using? That would make it easier for someone to point you to the correct CSS file and selector.

---

<div class="post-metadata">

**Author:** ![shaunjones76](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@shaunjones76](https://community.shopify.com/u/shaunjones76)\
**Post date:** [June 12, 2026, 4:11am UTC](https://community.shopify.com/t/drop-down-menu/636388/3 "2026-06-12T04:11:05Z")

</div>

> [@oliviacarter361](#):
>
> ```auto
> .menu-item:hover,
> .dropdown-item:hover {
> background-color: transparent !important;
> }
> 
> ```

Hiya, theme im using is Testament by We Are Underground

---

<div class="post-metadata">

**Author:** ![oliviacarter361](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/oliviacarter361/32/410361_2.png) [@oliviacarter361](https://community.shopify.com/u/oliviacarter361)\
**Post date:** [June 12, 2026, 5:52am UTC](https://community.shopify.com/t/drop-down-menu/636388/5 "2026-06-12T05:52:14Z")

</div>

Thanks for the clarification. Since you’re using the Testament theme, it sounds like the hover styling may be built into the theme’s navigation settings or custom CSS rather than Shopify itself.

Before adding custom code, it might be worth checking whether the theme has a setting for menu hover effects or animations in the theme editor.

If anyone here has worked with the Testament theme specifically, did you remove the hover background effect through the theme settings or by editing the CSS files directly? It would be helpful to know the safest approach before making changes.

---

<div class="post-metadata">

**Author:** ![emilyjhonsan98](https://avatars.discourse-cdn.com/v4/letter/e/34f0e0/32.png) [@emilyjhonsan98](https://community.shopify.com/u/emilyjhonsan98)\
**Post date:** [June 12, 2026, 5:53am UTC](https://community.shopify.com/t/drop-down-menu/636388/6 "2026-06-12T05:53:03Z")

</div>

To remove the menu background hover block, go to your **Shopify Admin \> Online Store \> Themes \> Customize**.

Click on your **Header** section, look under the **Colors** settings, and change the **Dropdown Hover Background** color to transparent or match your main page background.

---

<div class="post-metadata">

**Author:** ![Custom-Cursor](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/custom-cursor/32/401636_2.png) [@Custom-Cursor](https://community.shopify.com/u/Custom-Cursor)\
**Post date:** [June 12, 2026, 6:00am UTC](https://community.shopify.com/t/drop-down-menu/636388/7 "2026-06-12T06:00:41Z")

</div>

Just taking a look to the live theme, I see that the changes already made so far.

 ![image](https://canada1.discourse-cdn.com/shopifyforum/original/4X/1/8/c/18cff25dea8dc55feb8afe2c8dde1b852010195a.jpeg)

If there anything else, that need to be made changes so far then feel free to let us know.  
Thanks

---

<div class="post-metadata">

**Author:** ![kaspianfuad](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/kaspianfuad/32/402625_2.png) [@kaspianfuad](https://community.shopify.com/u/kaspianfuad)\
**Post date:** [June 12, 2026, 6:15am UTC](https://community.shopify.com/t/drop-down-menu/636388/8 "2026-06-12T06:15:57Z")

</div>

Add this one rule and the grey block disappears whilst the tan stays:

css

```auto
ul#main-nav > li:hover {
  background: transparent !important;
}

```

Where to paste it: Online Store \> Themes \> your live theme \> the ··· menu \> Edit code \> Assets \> stylesheet.css \> scroll to the very bottom \> paste \> Save.

Two separate rules control your menu hover (I pulled your live stylesheet to check). `ul#main-nav li:hover` sets `#c7bdbd`, the grey “block” that sits behind a top menu item when a dropdown is open. `ul#main-nav li ul.submenu li:hover` sets `#c2a986`, the tan on the dropdown items themselves. Because they are separate rules, removing the grey one leaves the tan completely untouched. Right now, when you hover a dropdown field you see both at once: tan on the field, and that grey block still up on the parent item. The rule above removes only the grey.

This is also why the earlier `.menu-item:hover` / `.dropdown-item:hover` suggestion did nothing. Testament does not use those class names, so it was targeting elements that are not on your page.

If you would rather the top item turn tan instead of going blank, swap `transparent` for `#c2a986`.

One thing to know: this edits the theme file directly, so a future theme update could overwrite it. Re-paste it after any update, or ask We Are Underground (the theme’s makers) to add it for you so it sticks.

---

<div class="post-metadata">

**Author:** ![SectionKit](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/sectionkit/32/400480_2.png) [@SectionKit](https://community.shopify.com/u/SectionKit)\
**Post date:** [June 12, 2026, 11:51am UTC](https://community.shopify.com/t/drop-down-menu/636388/9 "2026-06-12T11:51:59Z")

</div>

Hey @shaunjones76 . Hope you are doing great.

You just need to add a code in your theme CSS

.nav-dropdown li:hover {

background: none;

}

---

<div class="post-metadata">

**Author:** ![eva\_greene](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@eva\_greene](https://community.shopify.com/u/eva_greene)\
**Post date:** [June 15, 2026, 12:36pm UTC](https://community.shopify.com/t/drop-down-menu/636388/10 "2026-06-15T12:36:17Z")

</div>

Hi, add this to your theme’s CSS to remove the grey block but keep the tan hover:

```css
ul#main-nav > li:hover {
  background: transparent !important;
}

```

Go to Online Store \> Themes \> Edit code \> Assets \> stylesheet.css, paste it at the bottom, and save. This targets the grey block without affecting the tan color.

---

<div class="post-metadata">

**Author:** ![takologe](https://avatars.discourse-cdn.com/v4/letter/t/54ee81/32.png) [@takologe](https://community.shopify.com/u/takologe)\
**Post date:** [July 8, 2026, 2:55pm UTC](https://community.shopify.com/t/drop-down-menu/636388/11 "2026-07-08T14:55:25Z")

</div>

I realize this is from a while ago, but I’m curious if anyone found new methods to handle hover effects in the Testament theme? I’ve recently come across a similar challenge, and I’m wondering if newer updates or tools have been released that make it easier to manage without custom CSS changes. Would love to hear any fresh insights or experiences!
