Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #2300

    I have a problem where every 1st sub page from a parent page doesn’t show up when hovering over the menu. For example, I have a main page “packages” with 3 sub pages ; package 1 , package 2 & package 3. They have an order # assigned to them & all however when I visit the page and I hover over the parent page on the main navigation only package 2 & 3 show up. I have the same problem with my portfolio parent page & sub pages as well.

    Any help would be greatly appreciated.

    Rich

    #37469

    Did you use the menu manager under Appearance > Menu? You can build your own menu there using pages, links and categories.

    #37470

    Yes, I’ve already set up a custom menu.

    #37471

    Can you post a link please. Maybe it’s a css problem.

    #37472

    Sure:

    http://alphagtrs.com/

    Thanks!

    Rich

    #37473

    bump.

    Anyone else run into this issue?

    #37474

    Hey,

    I investigated it a bit and it seems to be a css problem. When you’ve a look at the html source code you’ll find the missing menu items – i.e. -

    <ul class='nav'><li class='current-menu-item'><a href='http://alphagtrs.com'>Home</a></li><li class="page_item page-item-2"><a href="http://alphagtrs.com/?page_id=2" title="About">About</a></li>

    <li class="page_item page-item-42"><a href="http://alphagtrs.com/?page_id=42" title="Packages">Packages</a>
    <ul class='children'>
    <li class="page_item page-item-527"><a href="http://alphagtrs.com/?page_id=527" title="alpha">alpha</a></li>
    <li class="page_item page-item-499"><a href="http://alphagtrs.com/?page_id=499" title="Alpha 6">Alpha 6</a></li>
    <li class="page_item page-item-501"><a href="http://alphagtrs.com/?page_id=501" title="Alpha 9">Alpha 9</a></li>
    <li class="page_item page-item-504"><a href="http://alphagtrs.com/?page_id=504" title="Alpha 10">Alpha 10</a></li>
    </ul>
    </li>

    <li class="page_item page-item-46"><a href="http://alphagtrs.com/?page_id=46" title="Media">Media</a>
    <ul class='children'>
    <li class="page_item page-item-146"><a href="http://alphagtrs.com/?page_id=146" title="Portfolio 1 Column">Portfolio 1 Column</a></li>
    <li class="page_item page-item-149"><a href="http://alphagtrs.com/?page_id=149" title="Portfolio 2 Columns">Portfolio 2 Columns</a></li>
    <li class="page_item page-item-151"><a href="http://alphagtrs.com/?page_id=151" title="Portfolio 3 Columns">Portfolio 3 Columns</a></li>
    <li class="page_item page-item-153"><a href="http://alphagtrs.com/?page_id=153" title="Portfolio 4 Columns">Portfolio 4 Columns</a></li>
    <li class="page_item page-item-155"><a href="http://alphagtrs.com/?page_id=155" title="Portfolio 4 Columns Sortable">Portfolio 4 Columns Sortable</a></li>

    </ul>
    </li>
    <li class="page_item page-item-183"><a href="http://alphagtrs.com/?page_id=183" title="News">News</a></li>
    <li class="page_item page-item-44"><a href="http://alphagtrs.com/?page_id=44" title="Contact">Contact</a></li>
    </ul>

    The only problem is that I haven’t found a solution yet.

    #37475

    thank you. If you’d like I can e-mail you the css files.

    #37476

    Hey,

    no I don’t need the css files – I can download/view them myself. It would be interesting if you’ve any plugins installed, which can cause this problem.

    #37477

    I only have a hand full of plug ins installed:

    - Akismet

    - All in One SEO Pack

    - MapPress Easy Google Maps

    - Really Simple CAPTCHA

    - WP-Simple-Contact-Form-with-Captcha

    Rich

    #37478

    I deactivated the plug ins one by one and the problem still persists.

    #37479

    Hey,

    This bug is caused by this code hiding the 1st item:

    #top .nav li:first-child a {
    border:medium none;
    display:none;
    }

    Open up style.css and on (or around line 230) remove this to fix the problem:

    display:none;

    James

    #37480

    Thanks for the help James. That definitely fixed it, however it also brought back the pesky “home” text link in the main navigation. I put the “display:none;” code in the CSS line as a solution to get rid of the Home link as suggested by another support staff.

    So how do I get rid of the Home link now?

    Thank you

    Rich

    #37481

    If you use a custom menu the home link shouldn’t appear in your main menu. You can exclude/include the home link from your menu by using the menu manager under Appearance > Menu.

    #37482

    Hey, I am trying to create child menus but I cant, I am using the menu manager under appearance. do you know what the problem may be?

    #37483

    I found what the issue is: it was conflicting with a plugin I have http://iredlof.com/2009/04/iredlof-ajax-login-wordpress-plugin/

    Any ideas how to avoid the conflict?

    #37484

    Hey,

    I had a short look at the source code and couldn’t find jquery code which may cause the problem.

    #37485

    Thanks for checking would you like me to send you the plugin’s files?

    #37486

    If you want to avoid to change style.css and do not want to use menu manager, just create one subpage “test” with the order 0. It won’t appear but will make your other subpages appear as this test page “takes the place” of the subpage that was hidden before.

    #37487

    Hey,

    Thanks for this tip. Please be aware that this “hack” can affect search engines.

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

The topic ‘Parent – Sub page navigation problem!’ is closed to new replies.