Supreme Home Page Chevron

This topic contains 1 reply, has 2 voices, and was last updated by  Stiofan O’Connor 8 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #260321

    justmark
    Full Member
    Post count: 375

    How was the chevron added to the Supreme home page to scroll down a page?

    #260334

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It’s added via a hook, but i guess you mean how does it work?

    the html for it is

    <a href="#sd-home-scroll" ><i class="fa fa-chevron-down"></i></a

    and the JS is:

    
    
    jQuery("#sd-home-scroll").click(function(event) {
            event.preventDefault();
            jQuery('html, body').animate({
                scrollTop: jQuery(".featured-area").outerHeight()
            }, 1000);
        });

    Thanks,

    Stiofan

Viewing 2 posts - 1 through 2 (of 2 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount