google-code-export / kv-webme

Automatically exported from code.google.com/p/kv-webme
1 stars 0 forks source link

Gallery Advanced Settings #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the advanced settings section is it possible to have the ability to set the 
slider width, and padding/margin settings to define page position etc.

The css for the gallery is in a different file to the default site css and 
although I can add new css to the default css section I was thinking something 
like above would make it easier.  Just a thought, if it's not possible don't 
worry about it.

Original issue reported on code.google.com by n...@jmcmobile.co.uk on 30 Jun 2011 at 9:35

GoogleCodeExporter commented 9 years ago
Hi Neil,

Don't think that will be possible because the javascript that creates the 
gallery calculates the width/height from the number of columns/rows.

You could try using the gallery template to do this. If you add a wrapper 
around the gallery tags then you could apply styles directly to that such as 
width, height, padding or margin.

Conor

Original comment by conormac...@gmail.com on 30 Jun 2011 at 11:49

GoogleCodeExporter commented 9 years ago
I've added a new option under "Advanced Options" that allows you to overwrite 
the gallery width. Normally this value is calculated by javascript but if the 
gallery width is set in the admin area then that will now overwrite everything. 
As for padding and margin - you can apply them now and just change the gallery 
width with this new setting.

Original comment by conormac...@gmail.com on 7 Jul 2011 at 4:31