Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
i18ngallery: limit thumbs in text but show all in show
#3
(2014-01-29, 22:44:05)mvlcek Wrote:
(2014-01-29, 19:51:28)Belletage Wrote: Hi,

because of the layout, I just want to show four thumbs,
but all in the slide show.
http://mvlcek.bplaced.net/get-simple/i18ngallery
I can limit them by "tags", but ... only they are shown in the slideshow too. I can't see another option?
thanx for tips,
best B.

You can add a CSS rule to hide all other thumbs, e.g.
Code:
.gallery .gallery-thumb + .gallery-thumb + .gallery-thumb + .gallery-thumb + .gallery-thumb { display: none; }
(add a more detailed rule to only hit a specific gallery)
or you can switch on paging in the gallery options or in the place holder (% gallery name=mygallery pagify=1 pagesize=4 %) and hide the paging div:
Code:
.gallery .pagify { display: none; }


hi mvlcek,
thank you for your detailed answer!
I choosed the second technique,
"pagify=1 pagesize=4" + css
because more differential, because I have more galleries on one view and the thumbs have diverse widths.
best, B.
Reply


Messages In This Thread
RE: i18ngallery: limit thumbs in text but show all in show - by Belletage - 2014-01-31, 09:53:29



Users browsing this thread: 1 Guest(s)