• 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 3 years, 5 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Kindly share the page URL where you are facing the issue to inspect it.

    Thread Starter vanbrel

    (@vanbrel)

    Sure:
    Above

    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

    (@vanbrel)

    Oh

    how easy it all can be.

    Thanks!

    You are welcome.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘color dropdown menu’ is closed to new replies.