Title: color dropdown menu
Last modified: June 15, 2021

---

# color dropdown menu

 *  [vanbrel](https://wordpress.org/support/users/vanbrel/)
 * (@vanbrel)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/color-dropdown-menu/)
 * Hi
 * the idea is simple; for most of the pages I want this
 * .dropdown-menu, .dropdown-menu * {
    color:#000; }
 * For the index page I want this:
    .page-id-14 .dropdown-menu, .dropdown-menu *{
   color:#fff; }
 * But nothing happens – so I have to set this:
    .page-id-14 .dropdown-menu, .dropdown-
   menu * { color:#fff!important; }
 * But now the color is white for all the pages – not only for page-id-14. How to
   get out of this?
    vanbrel
    -  This topic was modified 4 years, 11 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcolor-dropdown-menu%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Abhishek](https://wordpress.org/support/users/abhikr781/)
 * (@abhikr781)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/color-dropdown-menu/#post-14552478)
 * Hello,
 * Kindly share the page URL where you are facing the issue to inspect it.
 *  Thread Starter [vanbrel](https://wordpress.org/support/users/vanbrel/)
 * (@vanbrel)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/color-dropdown-menu/#post-14557536)
 * Sure:
    Above
    -  This reply was modified 4 years, 11 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
    -  This reply was modified 4 years, 11 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 *  [Abhishek](https://wordpress.org/support/users/abhikr781/)
 * (@abhikr781)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/color-dropdown-menu/#post-14566686)
 * Hello,
 * Please replace the previous codes with this one and check.
 *     ```
       .page-id-14 #site-navigation-wrap .dropdown-menu > li > a > span {
           color: #fff;
       }
       ```
   
 * You can also do this without adding any custom codes, remove all the added codes,
   edit the home page in WordPress, scroll down at the menu tab in the oceanwp settings
   section, from here choose the link colors according to need and this setting 
   will be applicable for the selected page only.
 *  Thread Starter [vanbrel](https://wordpress.org/support/users/vanbrel/)
 * (@vanbrel)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/color-dropdown-menu/#post-14566928)
 * Oh
 * how easy it all can be.
 * Thanks!
 *  [Abhishek](https://wordpress.org/support/users/abhikr781/)
 * (@abhikr781)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/color-dropdown-menu/#post-14569795)
 * You are welcome.

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

The topic ‘color dropdown menu’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [Abhishek](https://wordpress.org/support/users/abhikr781/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/color-dropdown-menu/#post-14569795)
 * Status: not resolved