Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • kmeyer Friend
    #200951

    Trying out Purity iii. My main menu collapses as soon as I change my desktop browser from a maximized window, even though there is plenty of room to fit the menu in a non-maximized window.

    Is there a way to change the threshold at which the menu collapses when viewing on a desktop? My screen resolution is 1280×720. I would think there should be a simple width declaration to customize this but I can’t find it.

    Thanks!

    Eragon H Friend
    #547780

    Hi Kmeyer,

    By default, the menu will collapse when the width is smaller than 992px (@screen-md). You can change this value by referring this document: http://t3-framework.org/documentation/bs3-customization#layout-width

    You have to Compile LESS to CSS and clear cache to see the change

    Remember to BACKUP your site before change as CSS files will be generated fresh on compile.

    regards

    templater Friend
    #576539

    How do I change for the menu only (not for the whole template) collapse 992 to 800? Custom CSS rule. No edit variables.less
    change
    …menu will collapse when the width is smaller than 992px
    to
    …menu will collapse when the width is smaller than 800px

    Change to “sm” (instead of “md”)!

    How to center (allign=center ) the navbar?

    Thanks.
    Sorry for my English.

    templater Friend
    #642852

    How do I change for the menu only (not for the whole template) collapse 992 to 800? Custom CSS rule. No edit variables.less
    change
    …menu will collapse when the width is smaller than 992px
    to
    …menu will collapse when the width is smaller than 800px

    Change to “sm” (instead of “md”)!

    How to center (allign=center ) the navbar?

    Thanks.
    Sorry for my English.

    templater Friend
    #741509

    How do I change for the menu only (not for the whole template) collapse 992 to 800? Custom CSS rule. No edit variables.less
    change
    …menu will collapse when the width is smaller than 992px
    to
    …menu will collapse when the width is smaller than 800px

    Change to “sm” (instead of “md”)!

    How to center (allign=center ) the navbar?

    Thanks.
    Sorry for my English.

    Saguaros Moderator
    #576667

    You can open the less file: /root/templates/purity_iii/less/variables.less

    Look for this declaratioin:


    // Point at which the navbar stops collapsing
    @grid-float-breakpoint: @screen-sm-max;

    change it to


    // Point at which the navbar stops collapsing
    @grid-float-breakpoint: @screen-sm-min + 32;

    Then compile LESS to CSS to see the changes.

    Remember to backup all css files first before compiling.

    templater Friend
    #576750

    Saguaros
    Nice job! Thank you very much!
    It works!

    templater Friend
    #643063

    Saguaros
    Nice job! Thank you very much!
    It works!

    templater Friend
    #741719

    Saguaros
    Nice job! Thank you very much!
    It works!

Viewing 9 posts - 1 through 9 (of 9 total)

This topic contains 9 replies, has 4 voices, and was last updated by  templater 9 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum