Jump to content

How could i place a large picture as my entire background please?


Recommended Posts

Well its a bit difficult to do that because I don't know what theme you're using.

In your themes > themename > css folder, you should have a global.css file. Open that with a text editor and look for the body tag. It'll say something like:


body {
background: #000;
color: #fff;
}



You need to add, or replace the background parameter with:


background: transparent url(path/to/image.jpg) no-repeat 50% 0;

Link to comment
Share on other sites

hi there, i see this :



body {
background-color: white;
font-size: 11px;
font-family: Verdana, Arial, Helvetica, Sans-Serif;
color: #5a5a5a;
text-align: center
}
[/code

is this what i edit please?

thanks
if you want to change color with JPG image,,you have to edit the script language above,,before editing you must copy the JPG file in the same folder with global .css folder,,and then change the script language like this

[code]
body {
background-image: url(your-image.jpg);
font-size: 11px;
font-family: Verdana, Arial, Helvetica, Sans-Serif;
color: #5a5a5a;
text-align: center
}
[/code

but ,before editing the script,,just backup the files,to avoid an unexpected,,,hope it works

cheers
Link to comment
Share on other sites

Just edit your CSS

body { background-color: white; font-size: 11px; font-family: Verdana, Arial, Helvetica, Sans-Serif; color: #5a5a5a; text-align: center
}



and replace with

body { background: #fff url(path-to-your-image.jpg) no-repeat 50% 0; font-size: 11px; font-family: Verdana, Arial, Helvetica, Sans-Serif; color: #5a5a5a; text-align: center
}



The little bit there that reads "50% 0" will center your large image, so regardless of the screen resolution, if its big enough, the user should still see the main area of the image.

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...