Hiya,
I’m building a site with Newspaper at the moment, and I have a couple of questions about the TagDiv gallery:
Firstly, is it possible for the pagination to stop working at the end of the sequence, rather than going round to the start again?
Secondly, on the post view (not in the lightbox view), is it possible to make the captions only appear on hover?
This is one of the gallery posts: http://cogdiss.com/lisnew/draft-gallery-post/
I’m using a child-theme on the site, and I’m reasonably confident editing files etc, I’m just not entirely sure which files to edit/how to edit them to achieve these things!
Many thanks 🙂
Hannah
Hello Hannah,
It is fairly easy to do:
1) Unfortunately there is no option for that in the theme but you can stop the slider pagination by editing the theme files like so: http://screencast.com/t/gDUPtKnnQdE . Simply change the value from true to false and you’re done.
2) The easiest method is with CSS You can use this code to achieve this effect:
.td-gallery-slide-copywrite{
opacity:0;
}
.td-slide-galery-figure:hover .td-gallery-slide-copywrite{
opacity:1
}
Simply add the code in the theme panel – custom css
Thank you!
Hi Bogdan,
Many thanks, that’s worked great for the caption, although I’m still struggling with the pagination.
I’ve moved td_wp_booster_functions.php into my child theme (nested inside a wp_booster folder inside an includes folder, so the structure is the same) and made the edit you suggested, but I can’t see that it’s made any difference to the pagination options on the gallery.
I’m also trying to remove the lightbox from the tagdiv galleries; I removed this code from the same file, as was suggested in another thread:
http://screencast.com/t/OLjyKBFL
but it doesn’t seem to have stopped the lightbox from being used on tagdiv galleries – e.g. on this page: http://cogdiss.com/lisnew/draft-gallery-post/ – is there a stage I’m missing here?
Many thanks!
Hannah
Hello,
That mainly means that the file does not work with the child theme.
Here is a list of files that are known and tested to work with the child theme:
https://forum.tagdiv.com/the-child-theme-support-tutorial/
For wp-booster modifications, you will have to edit the main files. Make sure to do a back-up first.
Thank you!