WordPress.org

Ready to get started?Download WordPress

Forums

sub menu not appearing under its parent (9 posts)

  1. barnsley242
    Member
    Posted 2 years ago #

    i have a subpage which does not appear under its parent page.
    - it appears as a completely separate page.

    here is the url:
    http://www.alysinkyfingers.co.uk/?page_id=171

    the page called 'chocolate cards' should appear under 'gallery' but it doesn't - it appears as a page on its own (may appear under 'more').

    thanks in advance.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Are you using a custom navigation menu?

  3. barnsley242
    Member
    Posted 2 years ago #

    i am using the navigation from this theme:
    http://wordpress.org/extend/themes/my-lovely-theme

  4. barnsley242
    Member
    Posted 2 years ago #

    i'm now thinking it may not supposed to appear under the parent and should appear next to it (which seems a bit strange though)

  5. barnsley242
    Member
    Posted 2 years ago #

    used a work around - creating own menu
    and not having subpages linked inside the menu - will to subpages manually from the parent page

  6. deepbevel
    Member
    Posted 2 years ago #

    yep, your theme's demo shows a subpage as a top menu item.

    Does your theme not have a "Menus" tab under "Appearance" where you can make a custom menu? If it does, there's an easy way to get sub pages as drop down items under the parent.
    That is if you still want to pursue this.

  7. Eric
    Member
    Posted 2 years ago #

    I'm having a similar issue with my site, http://www.goudaproductions.com. When you hover over the "Portfolio" menu item, the submenu appears under the "Services" menu item instead, which is to its' left. The problem does not seem to be specific to the "Services" menu item, since I placed the "Home" menu item in the second spot, and all submenus appeared under it. It seems it has something to do with the second menu item attracting all the submenus. Thoughts?

  8. Michael Mann
    Member
    Posted 2 years ago #

    @Eric, Without diving into the specific theme you are using, perhaps something in the CSS is set to position: absolute? Try adding a test subpage to one of the other top menus and see if that appears under "Services" as well.

  9. Eric
    Member
    Posted 2 years ago #

    I added "Test Submenu" to the "Home" top menu item, and it also appears under the "Services" top menu item. The submenus seem to be attached to that second top menu spot, because when I switch the top menu items around, all the submenus continue to appear under whatever is in that second top menu spot.

    The CSS for the submenu items are below. When I take off 'absolute' from the position attribute, the submenus fly all over the place.

    .menu-header ul ul {
    -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    display: none;
    float: left;
    margin: 0 0 0 286px;
    position: absolute;
    top: 15.76em;
    left: 0;
    width: 188px;
    z-index: 99999;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic