Making clickable thumbnails? |
Making clickable thumbnails? |
sineater213 |
Aug 8 2009, 08:55 PM
Post
#1
|
Group: Members Posts: 2 Joined: 8-August 09 Member No.: 9,368 |
Hello everyone I'm usually good at figuring stuff out, but this time I hit a doozy and can't seem to figure it out, hopefully someone here can help me. I have a gallery blog which is using this theme:
http://www.elegantthemes.com/preview/eGallery/ my question is how can I make it so that users can click the thumbnail and go to the post rather than clicking the arrow on the bottom right. I've narrowed it down to <div class="thumbnail-div" style="background-image: url(<?php bloginfo('stylesheet_directory'); ?>/scripts/timthumb.php?src=<?php echo $thumb; ?>&h=159&w=190&zc=0);"> but I don't now how to make them link to the post, any help would be great thank you. |
pandy |
Aug 8 2009, 11:35 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Not easily, since the whole thing builds on that the thumb isn't a thumb, but a background image. It would take some reworking.
You could fake it by adding an onclick to DIV.thumbnail-div, let JS redirect to the new page and style it with 'cursor: pointer'. This isn't a good solution though. |
sineater213 |
Aug 9 2009, 03:12 AM
Post
#3
|
Group: Members Posts: 2 Joined: 8-August 09 Member No.: 9,368 |
thanks a lot for the info I guess I'll just have to get a more user friendly theme
|
Frederiek |
Aug 9 2009, 11:54 AM
Post
#4
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
Though they are not Wordpress themes, maybe one of the Gallery samples at http://www.stunicholls.com/ will fit your needs.
|
Lo-Fi Version | Time is now: 26th April 2024 - 12:00 AM |