1. arconis
  2. Commercial Templates
  3. Thursday, 04 December 2014
  4.  Subscribe via email
Hey Guys,

I'm using Enlighten and when the window is scrolled to the top everything looks perfect, but when I scroll down the sticky part starts to "stick" a little further down than I'd like (see below). If you could tell me how to start the sticking effect about 6 pixels higher that would be great, thanks!

At top:
http://i.imgur.com/0l467uL.jpg

Too much on top cut-off when scrolled down:
http://i.imgur.com/nNCVgGd.jpg
Accepted Answer Pending Moderation
0
Votes
Undo
Awesome, you guys are the best!
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

The sticky div stop number can be set within your templates scripts.php (../templates/j51_enlighten/php/scripts.php - line 11)...


<script type="text/javascript" >
jQuery(window).load(function(){
jQuery("#container_hornav").sticky({ topSpacing: 65 });
});
jQuery(window).load(function(){
jQuery("#container_header").sticky({ topSpacing: -20 });
});
</script>


Where 65 is the menu stop distance and the -20 is the header area.

CiarĂ¡n
  1. more than a month ago
  2. Commercial Templates
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok