Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • speterman Friend
    #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

    speterman Friend
    #749583

    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

    Ninja Lead Moderator
    #692408

    Hi 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

    Ninja Lead Moderator
    #749667

    Hi 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

Viewing 4 posts - 16 through 19 (of 19 total)

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