Transparent menu area background?

sean10 / 2008-10-31 11:48:45   

Is it possible to make the menu background transparent so the background of the exhibit area covers the whole page.

thanks!

AntoineLafontaine / 2008-10-31 12:56:00   

Yes, you could.

There's an opacity property provided in CSS. But since all good things are not implemented the same way in Internet Explorer...

You can get and easy workaround if you use jQuery (included with indexhibit) and a bit of javascript.

First have a look at jQuery's examples and tutorial.

Let us know how it goes.

sean10 / 2008-10-31 15:23:35   

Thanks, so in order to make it transparent do I need to add a line to below in the style.css file? and what should I write?

\

#menu {
width: 215px;
overflow: auto;
top: 0;
bottom: 0;
    left: 0;
position: fixed;
height: 100%;
    background-color: #cccccc;
}

cruz / 2008-10-31 16:00:38   
  1.  background-color: transparent;
cruz / 2008-10-31 16:02:28   

just replace de color for transparent, don't know if it works in IE, and don't care ;)

iwakami / 2008-10-31 23:21:34   

there is also the great hulk technique of destruction.
i usually create a transparent gif image with some background pixels. gives a nice effect!
show us your results. ;)

sean10 / 2008-11-01 16:08:12   

Thanks for the feedback, the menu's transparent now.

But the main background image still start from a distance to the left,what's the best way to make them cover the whole page?

sean10 / 2008-11-01 17:03:54   

No worries now, problem sorted!

AntoineLafontaine / 2008-11-03 01:20:57   

You should provide an explanation on how you solved your problem... so that humanity can gain from your work, and then we can save more bunnies...

MrKappus / 2009-04-11 08:44:31   

Hi,

I just tried replacing my background-color, but my menu still appears to be white in firefox and safari. Here's a a snippet of my code:

#menu {
width: 150px;
overflow: auto;
top: 60px;
bottom: 0;
    left: 75px;
position: fixed;
height: 100%;
    background-color: transparent;
}

THANKS!

Vaska A / 2009-04-11 08:47:22   

That should work...are you sure it's not just white because the body has a white background?

MrKappus / 2009-04-11 09:01:34   

I realized my stupid mistake, I was uploading style.css to the wrong directory...

This thread has been closed, thank you.