transparent backgrounds

General questions pertaining to how certain issues can be resolved
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

transparent backgrounds

Postby jonnyrose » 18 Nov 2009, 02:50

I would like to remove the white header & body backgrounds (or make them fully transparent) so that my site's main background image is not covered up. Is this possible? Where in the code should I look?

I would also like to make the content posts & widget backgrounds slightly transparent if possible.

A graphical mockup of the basic design i'm after is on my homepage at http://www.jonnyrose.com - and the current Suffusion design is at http://www.jonnyrose.com/wordpress

Many thanks for any advice!
jonnyrose
 
Posts: 4
Joined: 18 Nov 2009, 02:30

Re: transparent backgrounds

Postby sayontan » 18 Nov 2009, 08:30

You can use the "Custom Styles" option under "Custom CSS, JavaScript and RSS". Depending on whether you want the background to be completely transparent or just translucent put in:

Code: Select all
#wrapper { /* For transparent backgrounds */
        background: transparent;
}

#wrapper { /* For translucent backgrounds */
   background-color: #222222;
   filter: alpha(opacity=70);
   -moz-opacity: 0.7;
   -khtml-opacity: 0.7;
   opacity: 0.7;
}


For posts replace "#wrapper" in the above with ".post" and for widgets use "div.suf-widget".
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: transparent backgrounds

Postby rikiller » 18 Nov 2009, 15:25

This works great if you want the whole wrapper transparent and everything on top of it.
But what about if you use a different header image and don't want that to have opacity? I've tried a few things, but I can't nut it out.
So basically I'd like to have the wrapper, posts/pages, widgets transparent with a solid header.
Please help
rikiller
 
Posts: 9
Joined: 12 Nov 2009, 16:08

Re: transparent backgrounds

Postby sayontan » 18 Nov 2009, 15:27

Not sure if I understand your problem. You could always use a separate header foreground / background image or a color gradient (the theme supports all of these using the options under Header Customization).
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: transparent backgrounds

Postby rikiller » 18 Nov 2009, 15:31

I use a separate header background image. But what happens, because the wrapper is transparent, the header background is also transparent. I want to take any transparency away from the header so that it doesn't go through to the background image.
rikiller
 
Posts: 9
Joined: 12 Nov 2009, 16:08

Re: transparent backgrounds

Postby sayontan » 18 Nov 2009, 15:32

... Unless you are referring to the sidebar widgets' headers, in which case you can set them up with something like:

.dbx-handle {
background-image: url(your_url);
}
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: transparent backgrounds

Postby rikiller » 18 Nov 2009, 15:36

The main header.
#header-container {}
rikiller
 
Posts: 9
Joined: 12 Nov 2009, 16:08

Re: transparent backgrounds

Postby sayontan » 18 Nov 2009, 16:03

While there are issues doing this through CSS alone given the page layout structure, here is what you might try - create a translucent image in a solid color. So create a small black image and add an alpha channel to it with opacity as you desire. Then set this image as the background for your #wrapper. You don't have to define any other alpha / opacity settings.
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: transparent backgrounds

Postby rikiller » 18 Nov 2009, 16:04

Yep that works.
How do I add it to pages/posts and widget content backgrounds?
rikiller
 
Posts: 9
Joined: 12 Nov 2009, 16:08

Re: transparent backgrounds

Postby rikiller » 18 Nov 2009, 16:36

nm.. sorted. Cheerz
rikiller
 
Posts: 9
Joined: 12 Nov 2009, 16:08

Next

Return to Support Requests

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron