-
AuthorPosts
-
September 24, 2015 at 9:43 am #692183
Hi
I actually need my menu on top image. same as attached image. when scroll menu ll change to white background and fix it on top.
Gopi
September 24, 2015 at 9:43 am #749583Hi
I actually need my menu on top image. same as attached image. when scroll menu ll change to white background and fix it on top.
Gopi
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 25, 2015 at 3:52 am #692408Hi Gopi,
I considered about your request and because it is custom work and out of JA support scope but I can help you out
Open templates/ja_nuevo/js/script.js file add new css script
(function($){
var lastScrollTop = 70;
$(window).scroll(function(event){
var st = $(this).scrollTop();
if (st>=lastScrollTop) {
$('#t3-header').addClass("scroll");
}
else {$('#t3-header').removeClass("scroll");
}
});
})(jQuery);
+ Open templates/ja_nuevo/css/custom.css file
find and change
.navbar-fixed-top {
position: fixed;
right: 0;
left: 0;
background: #fff ;
}
to
.navbar-fixed-top {
position: fixed;
right: 0;
left: 0;
background: transparent ;
}.navbar-fixed-top.scroll {
background: #fff ;
}
Regards
1 user says Thank You to Ninja Lead for this useful post
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 25, 2015 at 3:52 am #749667Hi Gopi,
I considered about your request and because it is custom work and out of JA support scope but I can help you out
Open templates/ja_nuevo/js/script.js file add new css script
(function($){
var lastScrollTop = 70;
$(window).scroll(function(event){
var st = $(this).scrollTop();
if (st>=lastScrollTop) {
$('#t3-header').addClass("scroll");
}
else {$('#t3-header').removeClass("scroll");
}
});
})(jQuery);
+ Open templates/ja_nuevo/css/custom.css file
find and change
.navbar-fixed-top {
position: fixed;
right: 0;
left: 0;
background: #fff ;
}
to
.navbar-fixed-top {
position: fixed;
right: 0;
left: 0;
background: transparent ;
}.navbar-fixed-top.scroll {
background: #fff ;
}
Regards
1 user says Thank You to Ninja Lead for this useful post
-
AuthorPosts
This topic contains 19 replies, has 3 voices, and was last updated by Ninja Lead 9 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum