projects
/
WP-Themes
/
wmta.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33a4e12
)
fixing scroll sticky for main topbar in large
author
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 24 Jan 2018 16:30:35 +0000
(11:30 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 24 Jan 2018 16:30:35 +0000
(11:30 -0500)
the sticky code for large view topbar was quirky, fixing it
footer.php
patch
|
blob
|
history
diff --git
a/footer.php
b/footer.php
index
027ceb4
..
3ade254
100644
(file)
--- a/
footer.php
+++ b/
footer.php
@@
-145,7
+145,7
@@
get_template_part('template-parts/search','overlay');
});
$(window).scroll(function() {
- if ($(window).scrollTop() >
168
) {
+ if ($(window).scrollTop() >
30
) {
$('#scroller').addClass('stuck');
$('.nav_logo').addClass('logo-adjust');
} else {