Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fixed background


whereangelsfall

Recommended Posts

Posted

it's very simple update the css file add the background and no-repeat function.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Posted

In your Stlesheet.css add to the bottom

 

 

body, html {

background: #C1C1C1; /* change to the hex value of your choice */

color: #000000;

margin: 0px;

padding:0px;

text-align: center;

}

 

#centrepage{

width: 850px; /* Change to the width of you choice */

margin: 10px auto 10px auto;

background: #ffffff;

text-align: left;

}

 

 

Now in your

catalog / includes / header.php

around line 55, just after the php and before the HTML starts

add

 

<div id="centrepage">

 

In your catalog / includes / footer.php

at the very end after any code add </div>

 

Thats it!

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...