test melih
 melih
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • timy.hui Friend
    #1007593

    Dear CS,

    • In desktop mode:
      -> When mouse is moved over a submenu item, that submenu item will be filled with a background color bar -> pls. see attached screen capture, fig.01

    • In mobile mode:
      -> When mouse is moved over a sub-menu item, that sub-menu item change color only, and does not filled with a background color bar, see fig.02 (Note that the mouse is now over the 5th menu item and NOT the 6th one)
      -> but when mouse is moved away, that sub-menu will be filled with a background color bar for a very short period of time, and then disappeared.

    So my question is how to make the mobile mode performs just like the desktop mode?

    Thanks! Timy


    1. 01_sub-menu-item_with-a-color-background-bar_Desktop-Mode
    2. 02_no-background-color-bar_for_subMenu_inMobileMode
    Pankaj Sharma Moderator
    #1007617

    Hi
    In mobile devices same style not working because hover does not work well in touch device it . It work as click,
    Add below code in custom.css file to add hover

    @media (max-width: 767px){
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
        background-color: transparent;
    }}

    Change transparant to a color code.

    Hope it helps.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 1 reply, has 2 voices, and was last updated by  Pankaj Sharma 8 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum