Stretch to fill background?

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?"

Stretch to fill background?

Postby sammymaudlin » 23 Jun 2010, 18:27

Possible? I'd the background to fill 100% width and 100% height always. Thanks in advance.
sammymaudlin
 
Posts: 57
Joined: 26 Mar 2010, 16:50

Re: Stretch to fill background?

Postby sayontan » 23 Jun 2010, 23:34

No, not with CSS.
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: Stretch to fill background?

Postby sammymaudlin » 24 Jun 2010, 07:39

Which file would require modification?
sammymaudlin
 
Posts: 57
Joined: 26 Mar 2010, 16:50

Re: Stretch to fill background?

Postby sayontan » 24 Jun 2010, 08:11

:? :?
Sorry if my meaning was not clear - this is not possible, at least in the classical sense. Modifying files (as in a PHP vs CSS argument) is not what I was referring to.

Background stretching is only supported in CSS3 by the background-size attribute and AFAIK the latest version of Opera is the only browser that offers some support for it (and that too I am not sure). You can "fake" it by following the instructions here: http://webdesign.about.com/od/css3/f/blfaqbgsize.htm.
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: Stretch to fill background?

Postby sammymaudlin » 24 Jun 2010, 08:40

Thanks Sayontan.

I actually stretch backgrounds all the time. http://homo-luminous.com as an example. I'm just not sure where/which of your files to manipulate to do it. Can I use the custom code section and put my stuff in there?
sammymaudlin
 
Posts: 57
Joined: 26 Mar 2010, 16:50

Re: Stretch to fill background?

Postby sammymaudlin » 24 Jun 2010, 09:04

I've got the CSS set up in the Custom Includes like this:

html, body {
height: 100%;
margin: 0;
padding: 0;
}

#background {
width: 100%;
height: 100%;
top: 0px;
bottom: 0px;
position: absolute;
z-index: 0;
}


I just need to figure out where to put this:

<div id="background"><img src="http://homo-luminous.com/home/wp-content/uploads/2010/06/blogback.jpg" alt="field" style="width: 100%; height: 100%;"/></div>

Normally it would go in the body of the index.html
sammymaudlin
 
Posts: 57
Joined: 26 Mar 2010, 16:50

Re: Stretch to fill background?

Postby sayontan » 24 Jun 2010, 09:57

header.php
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: Stretch to fill background?

Postby sammymaudlin » 24 Jun 2010, 11:30

I tried that but it only add the background to the blog container not the page itself.
sammymaudlin
 
Posts: 57
Joined: 26 Mar 2010, 16:50

Re: Stretch to fill background?

Postby sayontan » 24 Jun 2010, 11:43

Can't help without 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: Stretch to fill background?

Postby sammymaudlin » 24 Jun 2010, 11:51

sammymaudlin
 
Posts: 57
Joined: 26 Mar 2010, 16:50

Next

Return to Support Requests

Who is online

Users browsing this forum: ownegiore and 2 guests