Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
andreamarucci
Experienced
Topic Author
Posts: 308
Joined: 01 Mar 2011, 11:13

How to use different layout

15 Apr 2015, 04:16

Hello, I'd like to use this layout for my folders

https://mjau-mjau.com/concepts/albums/block-grid/

But I've tried to insert the code here
Code
folders		: # Settings- and classes for page folders-module (subfolders).
with no luck (page blank). Can you tell me what do I've to put and where?

Thanks!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: How to use different layout

15 Apr 2015, 12:09

The below is the settings we are using for that page:
Code
folders: grid:3,2,1 crop:1,1 items:title,amount,preview,description x-frame-medium-up hover description-clamp:2
The first two settings are the important ones. grid:3,2,1 sets a 3-grid layout for your folders, that responds to 2 and 1 columns on smaller screens. The crop:1,1 setting crops the images to a square aspect.