-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always show image thumbnail title within albums, or show with mouse rollover #30
Comments
A quick and dirty way to turn the album thumb+caption into a link: In the theme's index.php find this piece of code: <?php while (next_album()): ?>
<div>
<a href="<?php echo html_encode(getAlbumURL());?>">
<?php printAlbumThumbImage(getBareAlbumTitle(),'check-flagthumb'); ?>
</a>
....
....etc. and change it into this: <?php while (next_album()): ?>
<div>
<a class="linkoverlay" href="<?php echo html_encode(getAlbumURL());?>"></a>
<?php printAlbumThumbImage(getBareAlbumTitle(),'check-flagthumb'); ?>
....
....etc. Then in css/style.css add the following:
|
Finally got the chance to make these change, they didn't seem to work, they just make the photos completely unclickable and therefore the gallery unusable. |
I tried to reproduce what you describe but all I can think of is that somehow the CSS change went wrong. Also, you will have to make the same change (as on index.php) on every theme file where there is a |
Thanks @fretzl ... I made the suggested changes (3 places) and it fixed the unclickable thumbnails for me. |
Ah...but on Libratus there is an Admin button that drops a menu down over top of the album thumbs. I'm noticing now that the Admin drop down does not get the mouse focus in the portions of it that go over top of an album or picture thumb. Instead the underlying thumb is getting the focus..highlighting and unhighlighting as you hover over the menu, when it should be highlighting the menu items. I've not yet backed out the "linkoverlay" change to see if that is the cause...will do so tomorrow... Update Jul 20: If I use z-index: 2 for .linkoverlay instead of z-index: 100 as @fretzl suggested above, the libratus admin drop down menu functions correctly. Just FYI. Thanks! |
First off love the theme,
I originally posted this as a comment on fix #19 'always show name of sub album on thumbnail', but was hoping I might receive a response if I post it here.
two issues
Thanks for any suggestions
The text was updated successfully, but these errors were encountered: