Theme change causes images to jump around
Posted: 27 Jan 2010, 16:41
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:
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)
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>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)