The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Semi Transparent Page Background
I want to make the "Page Background" semi transparent. Is this easy? If so, how can I do it?
Thanks! |
#2
|
|||
|
|||
Quote:
<body style="filter: alpha (opacity=50)"> In here, the entire body of the html will be given an opacity, ranging from 0 to 100. 0 being completely transparent, and 100 being not transparent at all. and 50 being somewhere in the midde hence, semi transparency. its a really neat effect. The down side to this, is tha it makes all of the content in the body transparent as well. as in the text, and any images or whatever i might have on the page. whether i apply this style in the body tag, the ifram tag, or a div tag. its all the same. The other option i have found available to me is one that makes a table or iframe transparent, BUT not the content, (like the text). however what i don't like about this options is that it makes the iframe COMPLETELY see through. and i only want it SEMI- see through. semi transparent. this code works like this. in the ifram tag <iframe src="blahblah.htm"></iframe> you would put this inside it like so: <iframe src="blahblah.htm" allowtransparency="true"> and then in the actually html file tha you want IN the iframe, you would put this int he body tag: <body style="background-color: transparent;"> |
#3
|
|||
|
|||
So how do I make just the Page Background semi transparent?
I was also able to get semi transparency simply by putting opacity: 0.5; in the "Extra CSS Attributes" box under "Page Background" in the Style Manager, but like you said, this makes the entire page including all the content semi transparent. There has to be a way to make only the actual Page Background semi transparent and keep all the content on top of that normal looking! (without using a .png image) Anymore ideas anyone? |
#4
|
|||
|
|||
Why are you adverse to the use of a .png?
|
#5
|
|||
|
|||
Because I read it doesn't work with all browsers.
|
#6
|
|||
|
|||
You can define new css class in main css>additional css definition.
Quote:
style manager> style namer> common templates> header if in the header template the design start with table, you can call the class like this. Quote:
Quote:
In Main CSS page background property empty it or put value "transparent". |
#7
|
|||
|
|||
Thanks napy
What template would I use to call the class? I dont want the header transparent. I am using a white page background and I want the white page background to be semi transparent. |
#8
|
|||
|
|||
because Page Background property cannot hold this tranparent class because it makes all content transparent. you need to empty the Page Background css and put the white in the tranparent class.
Quote:
put the <div class="transparent"> in the bottom of header template before this comment <!-- content table --> and the close div tag </div> in the footer template on top of the footer template. *but remember to empty the background color of Page Background property in your style Main CSS. or put the value "transparent" |
#9
|
|||
|
|||
Thanks again napy
I did exactly as you said and it worked, but all the content was transparent and not just the background Seems like we're getting closer to a solution though... any other thoughts? |
#10
|
||||
|
||||
need this too!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|