Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1071205
    AbdulQ9
    Participant

    I have tried using

    @media (max-width: 979px) {
    .x-widgetbar {
    position: fixed;
    }
    }

    But this didn’t work on my theme at all.
    my site is
    http://www.sphcdacop.org

    #1071212
    Paul R
    Moderator

    Hi,

    Kindly change your code to this.

    
    @media (max-width: 979px) {
    .masthead .x-navbar.x-navbar-fixed-top {
          position:fixed;
          width:100%;
    }
    }
    

    Hope that helps.

    #1071514
    AbdulQ9
    Participant

    unfortunately, that didn’t work.

    #1071550
    Thai
    Moderator

    Hi There,

    You forgot to close the curly bracket(}) in your custom CSS.

    Please find:

    @media(min-width: 1100px){
      .site .x-brand {
          position: absolute;
          padding-top: 1px;
      }
    
      .site .x-brand img {
        width: 120px;
      }    
      
    .x-colophon.bottom {
    	padding: 5px 0;
    }
    @media (max-width: 979px) {
    .masthead .x-navbar.x-navbar-fixed-top {
          position:fixed;
          width:100%;
    }
    }

    And replace to:

    @media(min-width: 1100px){
    	.site .x-brand {
    		position: absolute;
    		padding-top: 1px;
    	}
    
    	.site .x-brand img {
    		width: 120px;
    	}    
    
    	.x-colophon.bottom {
    		padding: 5px 0;
    	}
    }
    @media (max-width: 979px) {
    	.masthead .x-navbar.x-navbar-fixed-top {
    		position:fixed;
    		width:100%;
    	}
    }

    Hope it helps 🙂

    #1071741
    AbdulQ9
    Participant

    That did it good thanks a lot.

    #1071747
    Thai
    Moderator

    You’re most welcome 🙂

    If you need anything else please let us know.

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