#1012 Posted in ‘Showtime Image Gallery’

Latest post by Lefteris Kavadas on Wednesday, 22 March 2023 11:03 EET

Kara J Brittain
Is there a way to limit the number of thumbnails that show on the module, but then show all thumbnails once you click on the first one, and the lightbox pops up?
Here is my development site, and the page I'm referring to - note the sidebar
https://brokenarrowcreede.cloudaccess.host/index.php/properties/60-eagles-nest-retreat-creede 

Lefteris Kavadas
Hi Kara,

We plan to add an option for this at the future. Until then you can achieve what you want using some CSS code:
#sidebar .showtime-image {
  display: none;
}
#sidebar .showtime-image:first-child {
  display: block;
  width: 100% !important;
}


This will target only the gallery at the sidebar. You just need to add this CSS code to your template. Usually templates have options for that or they include a separate file for custom code (look for file named custom.css).

Regards

Kara J Brittain
Ooh! This is almost perfect. I've edited it slightly to show 5 images:
#sidebar .showtime-image {
display: none;
}
#sidebar .showtime-image:nth-child(-n+5) {
display: block;
width: 100% !important;
}

Lefteris Kavadas
I am glad that it works for you.
I am closing this ticket now. Feel free to create a new one if you need any help.

Regards

Note: An active subscription is required in order to get support for our paid extensions. For our free extensions, if you don't have an account, register and then submit your support request.  In case you just want to ask a question, you can also use the contact form .

Firecoders
Are you using our extensions? Please post a review at the Joomla extensions directory!
Post a review