in Joomla Templates by hadi (160 points)

hello,

i can't change backgroung color menu scrolling

 

css code : { template > css > template_rtl.css }

.navbar-default
{
 position:fixed;
 top:0;
 z-index:999;
 width:100% !important;
}
.scrolling
{
 background-color: #424241 !important;
}

 

javascript code { template > index.php }

<script type="text/javascript">
$(window).scroll(function() {    
    var scroll = $(window).scrollTop();

    if (scroll >= 570) {
        $(".navbar-default").addClass("scrolling");
    } else 
    {
        $(".navbar-default").removeClass("scrolling");
    }
});
</script>

 Website is the localhost

please guide me

1 Answer

by lisa-west (35.1k points)

Hi,

Please open a support ticket  and please provide your TTR file and URL to the website for the quick solution: http://templatetoaster.com/support/.

by hadi (160 points)
edited by hadi
The problem was solved
I added the following code to scrolling class :

z-index: 9999;
position: fixed;
right: 0;
top: 0;
}
Interested in localizing/Translating TemplateToaster Software in your native language in exchange of a Pro License ? Contact Us
...