Gk - News Gallery

WordPress theme dedicated to start-up websites with amazing CSS3 animated icons, price tables and parallax effect background.
GK User
Thu May 30, 2013 3:28 pm
Hi,

Is it possible to remove the links from the pictures displaying on the news gallery slideshow.
I just want to use the slide for displaying pictures (on the homepage alone) without linking to a post page etc.

If that is not possible the second option would be to load that picture alone in a lightbox image viewer.

Some help would be most appreciated.

Regards
User avatar
Fresh Boarder

GK User
Fri May 31, 2013 10:27 pm
Hi,

It's News widget, so links are the most important part.. but you can try to hide them.
Go to Simplicity/gavern/widgets.news_gallery.php (line 166) and change this line to e.g.
Code: Select all
echo '<a href="javascript:void(0);" class="gk-image show '.(($r+1 <= $config['article_cols']) ? ' active' : ''). '">';


If you want to remove the hover effect, edit Simplicity/js/widgets/news_gallery.js and delete // add overlays fragment (around line 41)
User avatar
Moderator

GK User
Sat Jun 01, 2013 11:03 am
Thanks, appreciated!
User avatar
Fresh Boarder


cron