How To: Semi-Transparency
Sep. 15th, 2010 12:31 pmTheme: All
How To: Set the Opacity of an Element (Make a color on your journal appear slightly transparent)
I've often wonder how you would accomplish this look:

Option 1: As it turns out there is a simple way to do this.
Black:
This is based on the RGB color scale so (0, 0, 0) is black. When you add the 0.6 you are adding the transparency. 0.9 is rather dark but 0.1 is super light almost completely transparent.
White:
Red:
To find or customize a color for transparency you can check programs like PhotoShop or Paint Shop and when you have the color for painting they usually give you the numbers for RGB or you can use this RGB Color Chart.
Option 2: Another other option is this:
The unfortunate part about using this code for the header links is it will also make the text semi-transparent.
Option 3: Using an image background that was created to have an opacity or semi-transparency already built into it. This only works some of the time as some browsers don't support it. The image should be a png. To do this you would want this coding:
Below are a black and white semi-transparent image. You can't fully tell here for the white one but it does work.

Option 4: You want complete transparency of an item like the background to the sidebar. Note: The above sidebar is set to transparent but the actual components are not. So under the sidebar coding it we are using the below code:
For the components "sbarbody" and "sbarbody2" the background color is set to white.
I hope this helps you in your semi-transparent endeavors.
How To: Set the Opacity of an Element (Make a color on your journal appear slightly transparent)
I've often wonder how you would accomplish this look:
Option 1: As it turns out there is a simple way to do this.
Black:
This is based on the RGB color scale so (0, 0, 0) is black. When you add the 0.6 you are adding the transparency. 0.9 is rather dark but 0.1 is super light almost completely transparent.
White:
Red:
To find or customize a color for transparency you can check programs like PhotoShop or Paint Shop and when you have the color for painting they usually give you the numbers for RGB or you can use this RGB Color Chart.
Option 2: Another other option is this:
The unfortunate part about using this code for the header links is it will also make the text semi-transparent.
Option 3: Using an image background that was created to have an opacity or semi-transparency already built into it. This only works some of the time as some browsers don't support it. The image should be a png. To do this you would want this coding:
Below are a black and white semi-transparent image. You can't fully tell here for the white one but it does work.

Option 4: You want complete transparency of an item like the background to the sidebar. Note: The above sidebar is set to transparent but the actual components are not. So under the sidebar coding it we are using the below code:
For the components "sbarbody" and "sbarbody2" the background color is set to white.
I hope this helps you in your semi-transparent endeavors.



layout_lounge
(no subject)
Date: 2011-10-27 06:01 pm (UTC)I am not sure. It is possible your settings are off somewhere...
Are you looking to do something like this...
http://workshop-rees.livejournal.com/
The sidebar is at the top. I can put it on the side.
(no subject)
Date: 2011-10-27 06:10 pm (UTC)When I was trying things earlier I just added the code for the specific class into that box, but nothing changed.
This (http://i43.tinypic.com/2w5sm7r.jpg) is what my settings look like.
Oh btw, THAT pasted code does work. The image is just empty right now. But this one works.
(no subject)
Date: 2011-10-27 07:04 pm (UTC)So I'm going to upload the coding to that comm
You are going to want those questions to be Yes, No, No. Then you can copy and paste the code from the comm to your custom stylesheet box and it should work.
(no subject)
Date: 2011-10-27 07:07 pm (UTC)if I do have problems adjusting something I want, can I get back to you? I did find a good overview/tutorial thing, so that should help, but I might get stuck here and there. Like I said, I'm pretty much a total noob.
Also what about the header code that I already have in my box? Will something like this be in the new code as well or can I just add this bit somewhere?
(no subject)
Date: 2011-10-27 07:44 pm (UTC)It is incorporated.
(no subject)
Date: 2011-10-27 07:06 pm (UTC)(no subject)
Date: 2011-10-27 07:08 pm (UTC)