Search…

X3 Photo Gallery Support Forums

Search…
 
spiritx
Experienced
Topic Author
Posts: 30
Joined: 29 Sep 2008, 07:38

[Image description] : Background size

30 Sep 2008, 05:21

Hi all,

i'm installing my personnal theme, and i have a first question with the exif :

i would like a black background with 70% opacity on all the image when i mouse over.
This is my actual config :
Image

And how it appears :
Image

What is wrong in my config, in order to have the background 100% width and height ?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

30 Sep 2008, 08:39

I checked your images, and I am not quite sure what is wrong or what it is you want ...

You want the black background color to cover the entire image? I don't think that will work - The height setting generally adapts to the text displayed. Try setting "scaleheight: max" and see what happens ...
 
spiritx
Experienced
Topic Author
Posts: 30
Joined: 29 Sep 2008, 07:38

01 Oct 2008, 03:29

Hi Karl,

yes you well understood : i want the black background covering the entire image.
I tried with max, but it has no effect, no differencies as if i try with min.

For me it's a bug, because when i try width 100%, the background is well 100% width of the image, but for the height 100%, it doesn't work.

What do you think of this ? Do you think you will make modifications on this point ?

Thanks,
Anthony
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

16 Oct 2008, 10:51

I will take note of it ... The percentage settings depend on the location. You have placed it at TOP of image, then the width works. If you placed it at LEFT or RIGHT of image, the height would work.