Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1285155
    mathijs84
    Participant

    HI guys,

    I posted this months ago, but the changes i made seem to be ineffective. Maybe because of an update??

    On nvision.work-planning.com i have a the parent page “formaten” with 4 pages underneath it.

    The client doesnt like the way the sub menu is displayed. is there a way to change that. Maybe a little more underneath the parent page and not a little higher??

    This code doesn seem to do the trick:

    .masthead-inline .x-navbar .desktop .sub-menu {
        left: 18%;
        right: 0;
        top: 74px;
    }
    #1285600
    Friech
    Moderator

    Hi There,

    Thanks for writing! That code still works, but you need to close this block of @media query

    @media (max-width: 979px){
    .x-social-global {
     display: none;
    }

    That is conflicting with:

    @media (max-width: 979px){
    .x-topbar {
    position: fixed;
    width: 100%;
    }
    .x-slider-container.below {
     margin-top: 46px;
    }
    }

    Hope it helps, Cheers!

    #1285617
    Rad
    Moderator

    Hi there,

    Thanks for posting in.

    It’s not working because of this existing CSS,

    @media (max-width: 979px){
        .x-social-global {
          display: none;
    }
    
    .taptap-menu-button-alt {
           padding: 10px 0 0 5px !important;
    }
    
    @media (max-width: 979px){
        .x-topbar {
            position: fixed;
            width: 100%;
        }
        .x-slider-container.below {
            margin-top: 46px;
        }
    }

    First @media block should have close bracket.

    Like this,

    @media (max-width: 979px){
        .x-social-global {
          display: none;
    }
    
    .taptap-menu-button-alt {
           padding: 10px 0 0 5px !important;
    }
    }
    
    @media (max-width: 979px){
        .x-topbar {
            position: fixed;
            width: 100%;
        }
        .x-slider-container.below {
            margin-top: 46px;
        }
    }
    

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1285155 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>