Member
Member
daenney   27-12-2006, 17:59
#1

Hey guys
first of all thanks for this piece of software, never thought I'd live to see a piece of galery sofwtare that would be plain simple and easy (I used to work with Gallery2 :P)

Now I have a little thing, I added transparency to the CSS of the default-dark theme in the #main but now it causes thumbs and previews to become transparent too which obviously is not what you want.
I tried overriding it by resetting the opcaity for img and thumb but this didn't seem to work, anyone an idea?

To get an idea of what's going on http://screenshots.daenney.net will probably clear things up for you :P

The CSS code for transparency is this (in my case):
opacity: 0.85;
filter: alpha(opacity=85);
-moz-opacity: 0.85;

Member
Member
thinkdreams   27-12-2006, 18:35
#2

Firebug. Darn that's a good Firefox plugin.

Anyway, using Firebug, I inspected your CSS. Your applied the above CSS to your #main div as you stated, which will cause anything in that DIV to become transparent, as it will be inherited by classes below it.

I didn't see any additional references to opacity in the imagethumb, img, or image tags, so that would lead me to why it's inheriting the css from #main. You could try 100 opacity for each of the image CSS selectors to see if that doesn't correct your issue.

I'm assuming you want everything slightly transparent with the exception of images and thumbs right?

Member
Member
daenney   27-12-2006, 18:56
#3

Yup you got that right
I tried that trick about overriding the opacity before but it didn't seem to work, gonna go over it again though, maybe I missed something or a stupid typo, who knows...

Member
Member
daenney   27-12-2006, 22:23
#4

Oke done, added the opacity override but it doesn't fix the issue, go ahead and have a look, maybe you can figure out what the heck is going on

opacity: 1;
filter: alpha(opacity=100);
-moz-opacity: 1;

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.