Viewing 9 replies - 1 through 9 (of 9 total)
  • Theme Author oceanwp

    (@oceanwp)

    Hello, use this css code:

    .dropdown-menu .sub-menu {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    Thread Starter dominatr

    (@dominatr)

    Thanks! ??

    Can you help me do the same with the cart and search dropdown?

    /Dom

    Theme Author oceanwp

    (@oceanwp)

    Add this:

    #searchform-dropdown,
    .current-shop-items-dropdown {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    Thread Starter dominatr

    (@dominatr)

    It worked for the search dropdown, thanks!

    How about the cart dropdown?

    /Dom

    Theme Author oceanwp

    (@oceanwp)

    It should work too for the cart dropdown.
    Ok, better code, remove the two other code I gave you and add this one:

    .dropdown-menu .sub-menu,
    #searchform-dropdown,
    .current-shop-items-dropdown {
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
        box-shadow: none !important;
    }
    Thread Starter dominatr

    (@dominatr)

    Hmm, I still get shadow in the cart dropdown.

    Can i pm you the website?

    Theme Author oceanwp

    (@oceanwp)

    Oh I know why, sorry, it is because in the next release, the css classe for the cart dropdown is “.current-shop-items-dropdown”, so add after this code “#current-shop-items-dropdown”, your code will look like this:

    .dropdown-menu .sub-menu,
    #searchform-dropdown,
    #current-shop-items-dropdown,
    .current-shop-items-dropdown {
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
        box-shadow: none !important;
    }
    Thread Starter dominatr

    (@dominatr)

    Awesome m8, now it’s working. Big thanks! ??

    /Dom

    Theme Author oceanwp

    (@oceanwp)

    You’re welcome ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to remove the dropdown menu shadow’ is closed to new replies.