Jump to content

[Solved] Background picture


Recommended Posts

I have seen that some have nice background pictures in their shop and my question is if it's difficult to insert by yourself or if you advise me to get a module (like the Advanced Background Module) to obtain this.

 

If it's simple to do, please give a short description for default PS 1.5.3.1

 

I looked at the code for one site and saw that in global.css he had changed

		generic style
************************************************************************************************ */
body{
	font:normal 11px/14px Arial, Verdana, sans-serif;
	color:#222;
	background:#fff
}
body.content_only {
	background: #FFF;
}

/* positionnement ****************************************************************************** */
.hidden {display:none}
.f_right {float:right}
p.center {text-align:center}
.clearBoth {clear:both}

into

		generic style
************************************************************************************************ */
body {
background-color: #FFFFFF;
background-image: url('../img/Fructe.jpg');
font-size: 11px;
font-family: Verdana, Arial, Helvetica, Sans-Serif;
color: #000;
text-align: center

}
body.content_only {
	background: #FFF;
}

/* positionnement ****************************************************************************** */
.hidden {display:none}
.f_left {float:left}
.f_right {float:right}
p.center {text-align:center}
.clearBoth {clear:both}

His site: http://www.mirodeniisemintesifructeconfiate.ro/index.php

I really want those good looking pistage nuts RIGHT NOW!  :rolleyes:

 

Anyway, is this all you need to do?

Add that line and upload your picture into the IMG folder?

 

I tried but didn't see any change.

 

Would you rekommend the module after all?   :unsure:

Edited by Mr.Bean_S (see edit history)
Link to comment
Share on other sites

if you want to change background of your website, just upload file to your theme directory and then, in styles instead of background-image: url('../img/Fructe.jpg'); just use code to display your image,

 

for example, you uploaded file mybackground.jpg

 

then change this code to background-image: url('../img/mybackgrund.jpg');

Link to comment
Share on other sites

×
×
  • Create New...