WordPress.org

Ready to get started?Download WordPress

Forums

raindrops
[resolved] Differences of 'Sub Menu' on Top Menu and Sidebar (3 posts)

  1. nickleetw
    Member
    Posted 1 year ago #

    I have active the top menu option and sidebar option on left,
    I have build pages and arrange some of the pages as sub-menu.
    From my HOME, the top menu appear fit, the sub menu will only
    appear when my mouse click over.
    But on the left menu, the sub menu will appear under my topic,
    as a hierarchy.
    I would like to change it as it appear like top menu,
    or I could rather remove or hide it, only to let it remains
    in the top menu.

    I have found that from the Page HTML,
    the top menu is belongs to "access" menu-item and sub-menu,
    and the left sidebar is belongs to "lsidebar" menu-item and sub-menu.

    What files should I change so only the left sidebar
    will not show the sub-menu? or change the style like top menu,
    only the mouse click over, the sub-menu will appear?

  2. nobita
    Member
    Theme Author

    Posted 1 year ago #

    Hi nickleetw

    I would like to change it as it appear like top menu,

    Please try below code.

    Add to style.css last line.

    .lsidebar ul li  a + ul{ display:none; }
    .lsidebar ul li:hover > ul{ display:block; }

    Thank you

  3. nickleetw
    Member
    Posted 1 year ago #

    I add to style.css but it don't work,
    then I add to blank_front.php where this is the template
    style that I use to build, it works!! Thanks.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic