Shadow and CSS error
Posted: 12 Jan 2009, 12:34
I am using Phoca Gallery v 2.1.0 RC and the random gallery image module 2.1.0. The gallery works fine but I got problems with the module.
The box around the picture and title "jumps" when moving the mouse arrow over it. It is usually some fault with padding/margin in the css and the hover class. I have tried to change it in the css but with no effect.
And I can not center the box either. I took out "float: left" in the code and it worked.
I also discovered that the shadow picture behind the thumbnail don't show up. I think that is the problem with the issue above.
I have modified the thumbnail shadow1 in the component to 70x70 and shadow 2 to 120x120 (this is the size of the thumbnail - the shadow image is bigger and I followed the instructions in the documentation). I replaced shadow 1 and shadow2 in the component and it works great.
I have changed the size in the random image module from 100x100 to 120x120 and adjusted the other sizes accordingly. No problem it works. This error comes up both with an original installation and my modified installation.
It would be great if someone could point me in the right direction to solve this issue.
I am using Firefox 3 by the way. No IE errors.
Thanks.
Tom
The box around the picture and title "jumps" when moving the mouse arrow over it. It is usually some fault with padding/margin in the css and the hover class. I have tried to change it in the css but with no effect.
And I can not center the box either. I took out "float: left" in the code and it worked.
I also discovered that the shadow picture behind the thumbnail don't show up. I think that is the problem with the issue above.
I have modified the thumbnail shadow1 in the component to 70x70 and shadow 2 to 120x120 (this is the size of the thumbnail - the shadow image is bigger and I followed the instructions in the documentation). I replaced shadow 1 and shadow2 in the component and it works great.
I have changed the size in the random image module from 100x100 to 120x120 and adjusted the other sizes accordingly. No problem it works. This error comes up both with an original installation and my modified installation.
It would be great if someone could point me in the right direction to solve this issue.
I am using Firefox 3 by the way. No IE errors.
Thanks.
Tom