Page 1 of 1

Dimming the gallery only

Posted: Tue Sep 11, 2012 10:26 am
by maxdis
Hi
I created a gallery at this page http://www.tommasofettucciari.com/prova/tela-2.html, and I applied the dimming effect, but I would like to know if it's possible to apply the dimming effect on the gallery only? Now when I expand an image, the site menu at the top is dimmed too, but I'd like it to remain visible

thank you

Re: Dimming the gallery only

Posted: Tue Sep 11, 2012 5:11 pm
by RoadRash
Hi,

The dimmed background will always cover the entire browser's viewport, but you can change the z-index for the menus to let them appear on top of the dimmed background:

Code: Select all

#menu, #menugalleria {
	position: relative;
	z-index: 2000;
}

Re: Dimming the gallery only

Posted: Wed Sep 12, 2012 3:48 pm
by maxdis
thank you!