ext_194372: TVD: Caroline Close Up (Default)
[identity profile] sireesanwar.livejournal.com posting in [community profile] layoutlounge
Theme: 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.

(no subject)

Date: 2011-10-27 06:10 pm (UTC)
From: [identity profile] leandralocke.livejournal.com
Oh my gosh, that looks pretty amazing. I would just need to adjust some of the fonts (i.e. the entry headline) but I'm sure I could figure that out by myself. I actually do like the sidebar on top. Just pondering on which elements to include in it. Would this be something to just paste into the custom css box or something to upload as external style sheet?

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.
Edited Date: 2011-10-27 06:13 pm (UTC)

(no subject)

Date: 2011-10-27 07:07 pm (UTC)
From: [identity profile] leandralocke.livejournal.com
Excellent! Thank you so much.

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:08 pm (UTC)
From: [identity profile] leandralocke.livejournal.com
I'll have a look first and then get back to you. Though those trhee should actually be sufficient and okay in that order. Thanks :)

About

Welcome to the Lounge. Our tutorials are saved here. These are currently all for LJ and Flexible Squares. Should you have general questions about us check out our FAQ. I do NOT customize layouts for individuals.


    Layout Change Quick Guide
If you like Flexible Squares, I have tons of layouts for you, and still create them.

I've been creating Layouts for DW's Bannering. Here's how to use them:
1. Go to Transmogrified Layouts.
2. Choose Basic.
3. Go to Custom CSS.
4. Make sure all boxes are unchecked
5. Copy Coding to Stylesheet Box.
6. Make sure to update with your own images/image urls. Imgur images are okay to be used.
7.Click Save.


Tips Welcome:

You can also find layout_lounge at LiveJournal.

Tags

April 2025

S M T W T F S
  1 2345
6789101112
1314 1516171819
2021 2223242526
2728 2930