Announcement

#1 2017-09-28 06:43:56

todd
Member
2014-11-27
45

center images vertically in elegant theme instead of top

Hello,

I'm using the Elegant theme and would like it when displaying Pano shots (narrow height) for the images to be vertically aligned in the middle of the page rather than stuck to the top toolbar/menu... Any pointers would be greatly appreciated...

Also wondering if there is any way to change it so the viewer can switch to the larger sized image by clicking the image somewhere rather than having to use the little option in the top toolbar... That's probably too complicated but sure is a weakness of the interface imo.

Thanks!
Todd

Piwigo version: 2.9.1

Offline

 

#2 2017-09-28 07:22:14

eliz82
Member
Romania
2016-04-27
281

Re: center images vertically in elegant theme instead of top

if you want help with theme css then try to put a link to your gallery, more exactly to that panorama image.

Offline

 

#3 2017-09-28 07:53:34

todd
Member
2014-11-27
45

Re: center images vertically in elegant theme instead of top

It's any image. Not just pano's, where they by default hug the top of the image area in the Elegant theme and I'd like to try having them align to the middle of the viewing area.  I've looked at the theme css and tried changing any instance of "top" to 'center' or 'middle' and it doesn't change it... Figured it couldn't be that simple but had to try...

Offline

 

#4 2017-09-28 19:10:04

flop25
Piwigo Team
2006-07-06
7037

Re: center images vertically in elegant theme instead of top

it's way more complex


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 2017-09-28 19:17:22

todd
Member
2014-11-27
45

Re: center images vertically in elegant theme instead of top

flop25 wrote:

it's way more complex

Ok then I give up. Thanks :)

Offline

 

#6 2017-09-28 19:18:50

todd
Member
2014-11-27
45

Re: center images vertically in elegant theme instead of top

I just realized I could put padding/frame on my narrower height images to center them.. boom problem solved. :D

Offline

 

#7 2017-09-28 19:21:51

flop25
Piwigo Team
2006-07-06
7037

Re: center images vertically in elegant theme instead of top

todd wrote:

flop25 wrote:

it's way more complex

Ok then I give up. Thanks :)

sorry ^^ i can't help more but don't hesitate to test all the themes and maybe one day you will have the opportunity to hire a student in webdesign to tweak it or apply a theme from a themeforest-like website


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

 

Board footer

Powered by FluxBB

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