Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1355049
    ADBL
    Participant

    Hi there —

    I’m using cornerstone with a fixed top navbar. I’d need the logo margin-left to be fixed vs. a percentage (i.e. not change as the browser windows resizes in width) while the navigation item stay fluid.

    I tried adding:

    .x-container{
    margin-left: 50px; !important;
    }

    …to the customizer, but then the rest of the nav gets stuck at some point, when the width expands. I’d the menu items’ behavior to stay exactly the same as current. TIA.

    #1355051
    ADBL
    Participant
    This reply has been marked as private.
    #1355303
    Rupok
    Member

    Hi there,

    Thanks for writing in! You can add this under Custom > CSS in the Customizer.

    .x-navbar-inner .x-container.max.width {
    	width: 100%;
    	max-width: 100%;
    	padding-left: 50px;
    	padding-right: 6%;
    }

    Hope this helps.

    Cheers!

    #1355451
    ADBL
    Participant

    Thanks!

    #1355514
    Prasant Rai
    Moderator

    You are most welcome. 🙂

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