Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1200345
    FLYFLY
    Participant

    Hi
    My menu is not fix with mobil and the button “Menu” is not center. Show in the picture attachement. Thanks

    #1200351
    FLYFLY
    Participant
    This reply has been marked as private.
    #1200371
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> CSS :

    @media screen and (max-width: 959px){
    .ubermenu-responsive-toggle, .ubermenu-sticky-toggle-wrapper {
        display: inline-block;
        margin: 0 auto;
        float: none;
        width: 100%;
        text-align: center;
    }
    }
    @media (max-width: 979px){
    .x-navbar-fixed-top, .x-navbar-fixed-left, .x-navbar-fixed-right {
        position: fixed;
    }
    }
    

    Hope that helps.

    #1200537
    FLYFLY
    Participant

    Hi Thanks but i want that the logo and menu button are inline ( one left and one right ) center verticaly.
    Thanks

    #1200631
    Rupok
    Member

    Hi there,

    Thanks for writing back. Let’s update the code a bit :

    @media screen and (max-width: 959px){
    .ubermenu-responsive-toggle, .ubermenu-sticky-toggle-wrapper {
      display: inline-block;
      float: right;
      margin: 10px auto;
      text-align: right;
    }
    }
    @media (max-width: 979px){
    .x-navbar-fixed-top, .x-navbar-fixed-left, .x-navbar-fixed-right {
        position: fixed;
    }
    }

    Hope this helps.

    #1201620
    FLYFLY
    Participant

    Thank it’s work great. Just another question. I’d like that the logo will smaller on tablet and iPhone. Is it possible thanks.
    Gwen

    #1201685
    Paul R
    Moderator

    Hi,

    You can add this under Custom > Edit Global CSS in the Customizer.

    
    @media (max-width: 767px){
        .x-brand img {
            width: 130px;
        }
    }
    
    @media (max-width: 480px){
        .x-brand img {
            width: 100px;
        }
    }
    

    You may change the width to achieve your desired look.

    Hope that helps.

    #1201746
    FLYFLY
    Participant

    thanks it’s work perfect.
    And if i want to decrease the height of the menu bar. see the attached picture.
    Thanks

    #1201757
    FLYFLY
    Participant

    On mobil

    #1201829
    Thai
    Moderator

    Hi There,

    Please find this CSS:

    @media screen and (max-width: 959px){
    .ubermenu-responsive-toggle, .ubermenu-sticky-toggle-wrapper {
      display: inline-block;
      float: right;
      margin: 10px auto;
      text-align: right;
    }
    }

    And change to this:

    @media screen and (max-width: 959px){
    .ubermenu-responsive-toggle, .ubermenu-sticky-toggle-wrapper {
      display: inline-block;
      float: right;
      margin: 5px auto;
      text-align: right;
    }
    }

    After that add the following CSS:

    @media (max-width: 979px){
        .x-navbar-inner {
            min-height: 50px;
        } 
    }

    Hope it helps 🙂

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