EstebanDLPT (Talk | contribs) m |
EstebanDLPT (Talk | contribs) m |
||
Line 203: | Line 203: | ||
if($(".topBar").offset().top > 300){ | if($(".topBar").offset().top > 300){ | ||
$('#navbar').css('background','#2A8481'); | $('#navbar').css('background','#2A8481'); | ||
+ | $('.cd-vertical-nav').css('display','table'); | ||
}else{ | }else{ | ||
$('#navbar').css('background','linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(255,255,255,0) 100%)'); | $('#navbar').css('background','linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(255,255,255,0) 100%)'); | ||
+ | $('.cd-vertical-nav').css('display','none'); | ||
} | } | ||
} | } |
Revision as of 22:01, 26 September 2018