Theme change causes images to jump around

Phoca Gallery - image gallery extension
redbaron
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 27 Jan 2010, 16:12

Theme change causes images to jump around

Post by redbaron »

I have tried this by altering a couple of different themes but get the same result. All I was looking for was what seemed a simple change, ie not having any background colours to the phoca gallery. Indeed I was surprised not to find such a theme.

I want the images to display against my sites background without the distractions of the default boxes. I have no need for ratings, comments, image details etc. Having worked out the rather eclectic themes system in use I thought it would be fairly simple. Just replace the colours I did not want with 'none' in the xml file, for example:

Code: Select all

<params>
		<param name="font_color" default="#135cae" />
		<param name="background_color" default="none" />
		<param name="background_color_hover" default="none" />
		<param name="image_background_color" default="#f5f5f5" />
		<param name="image_background_shadow" default="shadow1" />
		<param name="border_color" default="none" />
		<param name="border_color_hover" default="#135cae" />
		<param name="image_categories_size" default="4" />
		
		<param name="icon_format" default="gif" />
		<param name="detail_window_background_color" default="#ffffff" />
	</params>
Sure enough this gave me roughly what I was looking for. However when I hover over the images it seems to mess up the floats on the row below by pushing all the images to the right of the image hovered over. Using firefox web developer it does not appear as if the box sizes are changing.

Quite why just changing the colour affects it I'm not sure so any pointers would be appreciated. This is happening in firefox, I've not got around to checking other browsers yet. I did try leaving the colour string void with empty quotes "" but the result is it just retains the previous themes colour settings. (This bug seems to exist in the control panel too. where no colour in an option on the pallet but not the result when you choose it)
redbaron
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 27 Jan 2010, 16:12

Re: Theme change causes images to jump around

Post by redbaron »

Solved! I hope.

Just for completeness however, in case others manage to imitate my silliness I had got a bit casual and failed to double check my syntax. I thought the correct choice when specifying no colour was "none". In fact it is "transparent" Quite why "none" nearly worked I have no idea but there you go.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Theme change causes images to jump around

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply