Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1032005
    cabforward
    Participant

    Hi! Can you help me give a solid background to the mobile menu? Right now it’s transparent and I can’t see it.
    I tried this in the global css:

    @media (max-width: 979px) {
    	.x-navbar .x-navbar-inner .x-nav-collapse .x-nav>.current-menu-item > a {
    		color: #fff !important;
    		background-color: #00007f !important;
    	}
    }
    #1032007
    cabforward
    Participant
    This reply has been marked as private.
    #1032370
    Thai
    Moderator

    Hi There,

    Please add the following CSS:

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

    Hope it helps ๐Ÿ™‚

    #1032395
    John Ezra
    Member

    Hi there,

    Thanks for writing in! You can add this under Custom > CSS in the Customizer or in your child theme’s style.css file.

    @media (max-width:979px){
        .x-navbar-inner {
            background: #00007f;
        }
    
        .x-navbar .mobile .x-nav li > a {
            color: #ffffff;
        }
    }

    Hope this helps โ€“ thanks!

    #1032624
    cabforward
    Participant

    Hi! I only want to have blue behind the header when the mobile button is pushed because it cuts of part of my header image. When itโ€™s in mobile view but the user isnโ€™t viewing the menu, it should show the regular yellow skinny topbar.

    #1033262
    Rue Nel
    Moderator

    Hello There,

    I have check your custom css. This particular block is affecting it;

    /*@media only screen and (min-width: 980px) { */
    .x-navbar.x-navbar-fixed-top {
        height: 70px;
    }
    
    .x-navbar.x-navbar-fixed-top .desktop .x-nav > li > a {
        height: 70px;
        padding-top: 34px;
    }
    
    .x-navbar {
        height: 70px;
    }
    /* } */ /* end media query */

    You might need to update it and use this instead:

    @media only screen and (min-width: 980px) {
      .x-navbar.x-navbar-fixed-top {
        height: 70px;
      }
    
      .x-navbar.x-navbar-fixed-top .desktop .x-nav > li > a {
        height: 70px;
        padding-top: 34px;
      }
    
      .x-navbar {
        height: 70px;
      }
    }
    /* end media query */

    Hope this helps.

    #1041676
    cabforward
    Participant

    I made that edit, and I’m still seeing a huge blue background on the mobile view:

    #1041678
    cabforward
    Participant

    Trying the upload again

    #1041679
    cabforward
    Participant

    I made that edit, and Iโ€™m still seeing a huge blue background on the mobile view. It needs to be just as short as the header is on the non-mobile view.

    #1041990
    Joao
    Moderator

    Hi There,

    Please add the following code to Appereance > Customizer > Custom > CSS

    @media (max-width: 769px) {
    .x-brand {
        width: 40%;
        margin-bottom: -23px;
      } }

    Hope that helps,

    Joao

    #1042023
    cabforward
    Participant

    That didn’t change anything.

    #1042783
    Paul R
    Moderator

    Hi,

    You can try this code instead.

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

    Hope that helps.

    #1043112
    cabforward
    Participant

    I’m sorry, but that’s not helping.

    #1043444
    Thai
    Moderator

    Hi There,

    Please try with this CSS instead:

    @media (max-width: 979px){
        a.x-brand.img {
            margin-top: 0;
        }
        a.x-brand.img img {
            max-height: 71px;
            width: auto;
        }
    }

    Hope it helps ๐Ÿ™‚

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