Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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?

    #278366

    Hi,

    Can you post the link to your website please?

    Regards,
    Josue

    #278398

    Sorry Josue,

    The site is not yet on line. I only got screenshot to give you: https://www.dropbox.com/sh/3j346llrb91wb0j/AAC845V4Mxu02oEfLFeDrNAIa

    #278400

    That 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,
    Josue

    #278403

    Hmmm… bummer. I’ll get back to you when it goes online. Could you maybe point me in the right direction? Something to look for?

    #278411

    Try 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,
    Josue

    #278431

    Thank for the help Josue,

    But it’s not working for me.

    #278432

    Just to make sure, is this the issue you are having?

    Regards,
    Josue

    #278439

    Yes, 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?

    #278441

    Hmm, 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,
    Josue

    #278443

    Ok, will do!

    #278463

    Looking forward to hearing from you :)

    Regards,

    Josue

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.