Announcement

#1 2014-06-20 21:21:13

jdmaddison
Member
2014-06-20
6

Reduce Album Cell Width 50% to Allow 4 Albums per Row in Elegant Theme

Greetings,

Thank you for an awesome tool! I've just starting using Piwigo and it looks incredible! I'm using the default Elegant theme.

One question: Is there a way to reduce the visual space that an album or subalbum thumbnail plus description occupies on screen? I would like to be able to reduce the width by 50% so that they can tile 4 across.

Taking it a bit further, would it then be possible to reduce the width to 25% to allow 8 across? I would most likely not have any description at all on the albums themselves, so the 25% size would only have the Album thumbnail, Album name and the number of photos.

My intent would be for the subalbums to look almost the same as the photo thumbnails, maybe appearing slightly larger with the gray background around them, as if they were stacks of photos.

Thanks!
jdmaddison


Piwigo version: 2.6.3

Offline

 

#2 2014-06-20 21:24:08

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Reduce Album Cell Width 50% to Allow 4 Albums per Row in Elegant Theme

Hello and welcome

follow the guide to customize the CSS of your theme
http://piwigo.org/doc/doku.php?id=user_ … q:css_code

or select another theme http://piwigo.org/ext/index.php?cid=10

Offline

 

#3 2014-06-20 23:50:33

jdmaddison
Member
2014-06-20
6

Re: Reduce Album Cell Width 50% to Allow 4 Albums per Row in Elegant Theme

Thanks you for your quick and informative response. I'm a novice to CSS, but I was able to make the minor change for the 4 subalbum tiles across with the links you've provided. The change was simply adding this:

.thumbnailCategories LI {
width: 25%;
}

The 8 across looks like it will be a bit trickier for me, since the description element will need to be put underneath the illustration element and I'm pretty fuzzy on DIV tags in general, but so far, so good.

Thanks again,
jdmaddison

site: http://gallery.bulzei.com/

Offline

 

#4 2014-06-21 11:28:42

flop25
Piwigo Team
2006-07-06
7037

Re: Reduce Album Cell Width 50% to Allow 4 Albums per Row in Elegant Theme

hello
you should check my templates [extension by flop25] flop_style


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#5 2014-06-25 18:29:44

jdmaddison
Member
2014-06-20
6

Re: Reduce Album Cell Width 50% to Allow 4 Albums per Row in Elegant Theme

Wow, definitely an easier approach to use flop_style and it's very easily modified as well.

Thanks!
jdmaddison

site: http://gallery.bulzei.com/

Offline

 

#6 2014-06-25 18:46:37

jdmaddison
Member
2014-06-20
6

Re: Reduce Album Cell Width 50% to Allow 4 Albums per Row in Elegant Theme

> The 8 across looks like it will be a bit trickier for me<

Flop_style did this very nicely for me. Which led to my next question-- how to increase the number of albums per page? Easy! (from searching the forums):

"You can modify the number of albums per page on screen [Administration > Configuration > Options > Display]"

Awesome!
jdmaddison

http://gallery.bulzei.com/

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact