• Hi,

    When I add parent pages to my website, it makes the parent page un-clickable even though there’s a page linked to it. Even if I try adding a custom link, or even making it just a normal page with sub-items, it’s still un-clickable. Is there a way to fix this?

    My site is laceyconferencecenter.com. The pages “Rooms” and “Services” should both be clickable and link to their pages “laceyconferencecenter.com/rooms” and “laceyconferencecenter.com/services”.

    Please help! Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi,

    i have the same probleme but no idea where is the problem 🙁

    Hi,

    i have the same problem. The problem appeared after updating the theme. Thaks for your help.

    Hi,

    I seem to be having the same problem? Any fix?

    Hi,

    I’m having the same problem as well in two of my pages (www.susirinkimai.com and http://www.focusingas.com)

    And also my dropdown menu hides under the slider in http://www.focusingas.com when you open the site and when opening pages menu hides under the page part.

    Hi guys, i can’t fix the dropdpown menu hiding under the slider and other parts of the pages.

    @ausrine how did you fix that? I see you could solve this problem on your website (nice one btw!)

    Thanks

    @zando85 there was some bug with styling:
    After this:

    #header-holder {
    height: auto;
    width: 100%;
    min-height: 30px;
    z-index: 80;
    padding: 10px 0;
    border-bottom: 1px solid #eaeaea;
    }

    add this in stylesheet:

    .stuckMenu {
    position: relative;
    top: 0px;
    }

    Solved the problem for me

    Thanks for the quick reply Ausrine. Unfortunately it didn’t solve my problem. That stupid drop down menu keeps hiding behind the slidebar 🙂

    I have found the parent page for my shop categories not working –

    If you inspect element and look at the code, it will say the href = # (or at least it does on mine)

    The href should be a link, if you inspect your other pages you will find they are a link.

    I haven’t figured this out yet but when i do i will post.

    REPLACE THIS:
    // If item has_children add atts to a.
    if ( $args->has_children && $depth === 0 ) {
    $atts[‘href’] = ‘#’;
    $atts[‘data-toggle’] = ‘dropdown’;
    $atts[‘class’] = ‘dropdown-toggle’;
    } else {
    $atts[‘href’] = ! empty( $item->url ) ? $item->url : ”;
    }

    AND WRITE THIS:
    if ( $args->has_children && $depth === 0 ) {
    $atts[‘href’] = ! empty( $item->url ) ? $item->url : ”;
    } else {
    $atts[‘href’] = ! empty( $item->url ) ? $item->url : ”;
    }

    You will find this code in your appearance > Editor > wp_bootstrap_navwalker.php

    HOWEVER – for me this as meant my mobile menu is not displaying anymore

    friendly1013

    (@friendly1013)

    @ausrine

    Thank you so much for this! I was having a problem with the dropdown submenus – but the issue disappeared once I scrolled down, and then back up. if transparency is enabled, appearing behind the image slider and other elements.

    I did some investigating and saw that the main header container was assigned the class .stuckMenu, but .stuckMenu did not appear in the theme’s style sheet.

    So I saw something interesting – the theme adds an inline style to the #header_holder <div> as soon as you scroll down, and it stays there once you scroll back up to the top.

    So here is what it looks like before you scroll down:

    <div id=”header-holder” class=”stuckMenu”>

    — Yet stuckMenu is undefined!

    but after you scroll down and scroll back up to the top:

    <div id=”header-holder” class=”stuckMenu” style=”position: relative; top: 0px;”>

    So I was searching in the code for where that change happens, but after reading this, I can’t believe I didn’t just try defining .stuckMenu like this…

    THANKS A MILLION!

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Parent Page Navigation Not Working’ is closed to new replies.