Title: Menu class btn background
Last modified: March 13, 2018

---

# Menu class btn background

 *  Resolved [dyrer](https://wordpress.org/support/users/dyrer/)
 * (@dyrer)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/menu-class-btn-background/)
 * Hello,
    how can I change ONLY the background color of a menu item class btn? 
   Thanks you

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Theme Author [oceanwp](https://wordpress.org/support/users/oceanwp/)
 * (@oceanwp)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/menu-class-btn-background/#post-10073384)
 * Hello, you can use this code:
 *     ```
       #site-navigation-wrap .dropdown-menu > li.btn > a > span {
           background-color: #000;
       }
       ```
   
 *  Thread Starter [dyrer](https://wordpress.org/support/users/dyrer/)
 * (@dyrer)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/menu-class-btn-background/#post-10075376)
 * Thank you very much, appreciate
 *  Theme Author [oceanwp](https://wordpress.org/support/users/oceanwp/)
 * (@oceanwp)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/menu-class-btn-background/#post-10076129)
 * You’re welcome 🙂
 *  Thread Starter [dyrer](https://wordpress.org/support/users/dyrer/)
 * (@dyrer)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/menu-class-btn-background/#post-10092570)
 * Hello again, this is still not working for me
    the class is menu-link sf-with-
   ul
 *  Theme Author [oceanwp](https://wordpress.org/support/users/oceanwp/)
 * (@oceanwp)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/menu-class-btn-background/#post-10094343)
 * Hi, can you send me your link?
 *  Thread Starter [dyrer](https://wordpress.org/support/users/dyrer/)
 * (@dyrer)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/menu-class-btn-background/#post-10117493)
 * of course
    [https://healthfit.gr/](https://healthfit.gr/)
 *  Theme Author [oceanwp](https://wordpress.org/support/users/oceanwp/)
 * (@oceanwp)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/menu-class-btn-background/#post-10117571)
 * Try this:
 *     ```
       body #site-navigation-wrap .dropdown-menu > li.btn > a > span {
           background-color: #000;
       }>/pre>
       ```
   
 *  Thread Starter [dyrer](https://wordpress.org/support/users/dyrer/)
 * (@dyrer)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/menu-class-btn-background/#post-10121517)
 * thank you that works
 *  Theme Author [oceanwp](https://wordpress.org/support/users/oceanwp/)
 * (@oceanwp)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/menu-class-btn-background/#post-10121544)
 * You are welcome 🙂

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Menu class btn background’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/oceanwp/4.1.5/screenshot.png)
 * OceanWP
 * [Support Threads](https://wordpress.org/support/theme/oceanwp/)
 * [Active Topics](https://wordpress.org/support/theme/oceanwp/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/oceanwp/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/oceanwp/reviews/)

## Tags

 * [background](https://wordpress.org/support/topic-tag/background/)
 * [btn](https://wordpress.org/support/topic-tag/btn/)
 * [menu](https://wordpress.org/support/topic-tag/menu/)

 * 9 replies
 * 2 participants
 * Last reply from: [oceanwp](https://wordpress.org/support/users/oceanwp/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/menu-class-btn-background/#post-10121544)
 * Status: resolved