GK Portfolio animation begins without scroll

Modern, responsive, unique and elegant one-page WordPress theme to showcase your creativity
GK User
Thu Aug 22, 2013 12:24 pm
Loving the theme so far, great work! I have one problem though.

When the page is opened, the images in the Portfolio widget only animate/appear once the user begins scrolling.
I want the GK Portfolio to animate/appear instantly, without the user having to scroll.
How do I do this?

Really specific instructions on what files to change would be appreciated.

Here's my URL
http://www.kiranmatthews.com/

Thanks a lot. :)
User avatar
Fresh Boarder

GK User
Fri Aug 23, 2013 10:03 am
Ok, replace your Creativity/js/gk.scripts.js with the attached file (first do a backup).

Then edit Creativity/gavern/widgets.portfolio.php file and replace this line:
Code: Select all
echo '<a href="'.$art_url.'" title="'.strip_tags($art_title).'" class="gk-image animate_queue_element active">';

with:
Code: Select all
echo '<a href="'.$art_url.'" title="'.strip_tags($art_title).'" class="gk-image no_scroll active">';
User avatar
Moderator

GK User
Sat Aug 24, 2013 9:09 am
Works perfectly!
Thank you :D
User avatar
Fresh Boarder


cron