-
AuthorPosts
-
December 22, 2014 at 6:30 pm #203760
The navigation menu minimizes when screen size is under 1280px. Is there an easy way to change from 1280px to under 1024px? Preferably a fix that will not get overwritten when updated.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 23, 2014 at 7:00 am #559439In Bootstrap, it’s called ‘breakpoints’ from which the navigation will be collapsed. You can find the declaration of this breakpoint via file: templates/ja_nuevo/less/variables.less file
@grid-float-breakpoint: @screen-lg-min;
with @screen-lg-min: 1280px
You can change it to
@grid-float-breakpoint: 1024px;
Once done, you will need to compile LESS to CSS (click </> Less to Css button in template manager of JA Nuevo). Remember to BACKUP all current css files first as when compiling Less to Css, they will be overridden.
baijianpeng Friendbaijianpeng
- Join date:
- March 2006
- Posts:
- 96
- Downloads:
- 281
- Uploads:
- 5
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
October 9, 2015 at 3:03 pm #704084I followed above instructions to use 1024px as the “breakpoint”, but, when under 1024*768 resolution, the top menu and the “shrinked menu button” both shows up! And the worse is, the latter will push the top nav menu down to below the level of that button!
I hope when under 1024px width, the “shrinked menu button” will disappear, just like it acting under 1280px width.
What should I do? Thank you.
BTW, I hope you will use 1024px as the default “toggle point”, instead of 1280px, for ALL of your templates (or, please add a NEW option to let us choose?).
Thank you.
baijianpeng Friendbaijianpeng
- Join date:
- March 2006
- Posts:
- 96
- Downloads:
- 281
- Uploads:
- 5
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
October 9, 2015 at 3:03 pm #751154I followed above instructions to use 1024px as the “breakpoint”, but, when under 1024*768 resolution, the top menu and the “shrinked menu button” both shows up! And the worse is, the latter will push the top nav menu down to below the level of that button!
I hope when under 1024px width, the “shrinked menu button” will disappear, just like it acting under 1280px width.
What should I do? Thank you.
BTW, I hope you will use 1024px as the default “toggle point”, instead of 1280px, for ALL of your templates (or, please add a NEW option to let us choose?).
Thank you.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 12, 2015 at 2:47 am #704476@baijianpeng: Trying to change with this way below
+ Open templates/ja_nuevo/less/variables.less file
find and change
@grid-float-breakpoint: @screen-lg-min;
@grid-float-breakpoint-max: 1279px;to
@grid-float-breakpoint: 1024px;
@grid-float-breakpoint-max: 1023px;Once done, you will need to compile LESS to CSS (click </> Less to Css button in template manager of JA Nuevo). Remember to BACKUP all current css files first as when compiling Less to Css, they will be overridden.
About to make toggle point button with 1024px, I am not confirm that because it regards to concept of template.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 12, 2015 at 2:47 am #751292@baijianpeng: Try with my tweak below:
+ Open templates/ja_nuevo/less/variables.less file
find and change
@grid-float-breakpoint: @screen-lg-min;
@grid-float-breakpoint-max: 1279px;to
@grid-float-breakpoint: 1024px;
@grid-float-breakpoint-max: 1023px;Once done, you will need to compile LESS to CSS (click </> Less to Css button in template manager of JA Nuevo). Remember to BACKUP all current css files first as when compiling Less to Css, they will be overridden.
About to make toggle point button with 1024px, I am not confirm that because it regards to concept of template.
baijianpeng Friendbaijianpeng
- Join date:
- March 2006
- Posts:
- 96
- Downloads:
- 281
- Uploads:
- 5
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
-
AuthorPosts
This topic contains 7 replies, has 3 voices, and was last updated by baijianpeng 9 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum