-
AuthorPosts
-
August 31, 2014 at 12:06 pm #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 FriendEragon H
- Join date:
- July 2014
- Posts:
- 468
- Downloads:
- 1
- Uploads:
- 39
- Thanks:
- 5
- Thanked:
- 156 times in 149 posts
September 1, 2014 at 1:45 am #547780Hi 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
July 6, 2015 at 11:54 pm #576539How 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 800pxChange to “sm” (instead of “md”)!
How to center (allign=center ) the navbar?
Thanks.
Sorry for my English.July 6, 2015 at 11:54 pm #642852How 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 800pxChange to “sm” (instead of “md”)!
How to center (allign=center ) the navbar?
Thanks.
Sorry for my English.July 6, 2015 at 11:54 pm #741509How 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 800pxChange to “sm” (instead of “md”)!
How to center (allign=center ) the navbar?
Thanks.
Sorry for my English.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 8, 2015 at 3:28 am #576667You 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.
1 user says Thank You to Saguaros for this useful post
July 8, 2015 at 8:41 pm #576750Saguaros
Nice job! Thank you very much!
It works!July 8, 2015 at 8:41 pm #643063Saguaros
Nice job! Thank you very much!
It works! -
AuthorPosts
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