-
AuthorPosts
-
June 12, 2014 at 11:25 pm #278361
Hey guys,
I’ve got 2 color section set up at 100% height. In the first, one got a button to scroll down to the next section. Kind of like what we have on the demo http://kriesi.at/themes/enfold/homepage/home-v7-one-page-portfolio. The difference being that I have 100% height for the color section.
In going with 100% height, each time I click the button to scroll down, it stops scrolling a bit to soon. So I can’t see the bottom of my second section, if I don’t manually scroll down.
Is there a way I could tweak the Y position?
June 12, 2014 at 11:32 pm #278366Hi,
Can you post the link to your website please?
Regards,
JosueJune 13, 2014 at 1:01 am #278398Sorry Josue,
The site is not yet on line. I only got screenshot to give you: https://www.dropbox.com/sh/3j346llrb91wb0j/AAC845V4Mxu02oEfLFeDrNAIa
June 13, 2014 at 1:02 am #278400That happens because the fullscreen slider + down arrow is meant to be used as the first element only, there are some workarounds around this but i’d need to check the site live.
Best regards,
JosueJune 13, 2014 at 1:07 am #278403Hmmm… bummer. I’ll get back to you when it goes online. Could you maybe point me in the right direction? Something to look for?
June 13, 2014 at 2:01 am #278411Try the following; open js/shortcodes.js and add this exactly after line 1972:
var wh100_mod2 = wh100, subtract2 = $('#wpadminbar, #header'); subtract2.each(function(){ wh100_mod2 -= this.offsetHeight - 1; }); wh100_mod2 = wh100_mod2 + 44; if(win.scrollTop() > 0){ wh100_mod2 = wh100_mod2 - 44; } css += ".avia-fullscreen-slider .avia-slideshow{height:"+wh100_mod2+"px;}\n";
You may need to adjust some of those numeric values depending on the header type you have.
Regards,
JosueJune 13, 2014 at 2:39 am #278431Thank for the help Josue,
But it’s not working for me.
June 13, 2014 at 2:52 am #278432Just to make sure, is this the issue you are having?
Regards,
JosueJune 13, 2014 at 3:05 am #278439Yes, it sounds possible the same thing.
I’ve added the code to the shorcode.js : https://www.dropbox.com/s/oxji6g1nv8nuevt/screenshot-code.png
Tried to play with “wh100_mod2 + 44” and “wh100_mod2 – 44“. But it didn’t do anything. What am I doing wrong?
June 13, 2014 at 3:08 am #278441Hmm, i’d need to see the actual site to help you on this to be honest, let me know as soon as you go live.
Regards,
JosueJune 13, 2014 at 3:10 am #278443Ok, will do!
June 13, 2014 at 4:26 am #278463Looking forward to hearing from you :)
Regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.