Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1382759
    kobwebie
    Participant

    Hi
    Im hoping you can help me with 2 things that have been troubling me.

    1) The nav dropdown drops drop from the bottom of the navbar. It looks like its ver far down. Is there a way to move that so it drops below the menu item?

    2) How do I change the colour of the menu items / bg colour for mobile?

    Look forward to hearing from you.

    #1382760
    kobwebie
    Participant
    This reply has been marked as private.
    #1382925
    Joao
    Moderator

    Hi There,

    Please add the following code to Appereance CUstomizer CUstom CSS

    .x-navbar .desktop .x-nav > li ul {
        top: 100px;
        background: white;
    }
    
    @media (max-width: 1280px) {
    .x-nav-wrap.mobile.collapse.in {
        background: grey;
        padding: 10px;
    
    }
    .x-navbar .x-nav>li>a>span {
       
        color: red;
    }}
    

    Hope it helps

    Joao

    #1382962
    kobwebie
    Participant

    Wow quick response.. Thanks!!

    One last thing.. The submenus don’t work on mobile. Any suggestions on how aI can fix that?

    Karl

    #1383087
    Rupok
    Member

    Hi there,,

    Looks like you have some conflicting CSS like this that causing the issue :

    .x-navbar .sub-menu {
      background-color: rgba(255, 255, 255, 0.9) !important;
      position: absolute;
      top: 0px;
      left: 0px;
      -webkit-border-radius: 10px;
      border-radius: 10px;
      width: 100px;
      display: none;
    }

    Can you take off your CSS and check again to make sure it’s causing by the custom CSS?

    Thanks!

    #1384161
    kobwebie
    Participant

    Hi

    Thanks for your help. When I remove that custom css it creates a dropdown like it would on desktop view. Il send you logins in a pm if you want to take a closer look

    #1384163
    kobwebie
    Participant
    This reply has been marked as private.
    #1384269
    Joao
    Moderator
    This reply has been marked as private.
    #1384349
    kobwebie
    Participant

    Can you try it again?

    #1384519
    Joao
    Moderator

    Hi

    There was a syntax error.

    Let us know how it looks now.

    Thanks

    #1388412
    kobwebie
    Participant

    Im afraid its still the same. The CSS is only changing the color of the background and the text. When I remove it out the problem is still there. Only on mobile menu. Sub-menu dropdowns are not working.

    #1388648
    Christopher
    Moderator

    Hi there,

    Please find this code:

    .sub-menu {
        background-color: #A8DBD8 !important;
        position: absolute;
        top: 44px;
        left: 0px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        width: 150px;
        display: none;
    }

    And update it to :

    @media (min-width:979px){
    .sub-menu {
        background-color: #A8DBD8 !important;
        position: absolute;
        top: 44px;
        left: 0px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        width: 150px;
        display: none;
    }
    }
    
    @media (max-width:979px){
    body ul.sub-menu {
        background-color: #CFEBE9 !important;
    }
    }

    Hope it helps.

    #1388761
    kobwebie
    Participant

    Hi..

    Hi thanks for your help but this code does not exist in my custom css

    .sub-menu {
    background-color: #A8DBD8 !important;
    position: absolute;
    top: 44px;
    left: 0px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    width: 150px;
    display: none;
    }

    #1388779
    Joao
    Moderator

    Hi There,

    Please try adding the code provided by Christian to Appereance Customizer Custom CSS

    Let us know how it goes,

    Joao

    #1388794
    kobwebie
    Participant

    Hi

    I have added it but it doesn’t appear to change anything

    Karl

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