Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

My Stylesheet is pretty much empty!?!?!


IIIIIIIIII

Recommended Posts

I am trying to change the width of my site, and set it to stay that dimension rather then increase/decrease with the size of the browser window... but my style sheet has about 3 short lines of code spread across 2 pages. Is this an error? or am I losing data when saving it to my computer. I also tried changing the color of the borders around the catergories and that isnt working either, it just goes white no matter what hex value I enter.

 

Any advice?

Link to comment
Share on other sites

to set the width of your store do the following

 

add to your atylesheet.css

 

 

body, html {

background: #000000;

color: #ffffff;

margin: 0px;

padding:0px;

text-align: center;

}

 

#centrepage{

width: 850px; /*sets the width*/

margin: 10px auto 10px auto;

background: #ffffff;

text-align: left;

}

 

 

 

 

====================================

file = catalog\include\header.php

line = 55, insert new line

 

After the PHP and before the HTML starts

 

<div id= "centrepage" >

 

 

====================================

file = catalog\include\footer.php

last line in file add after everything else

</div>

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

I am trying to change the width of my site, and set it to stay that dimension rather then increase/decrease with the size of the browser window... but my style sheet has about 3 short lines of code spread across 2 pages. Is this an error? or am I losing data when saving it to my computer. I also tried changing the color of the borders around the catergories and that isnt working either, it just goes white no matter what hex value I enter.

 

Any advice?

Make sure that you use a pure text editor and backup your file before you make changes.

Link to comment
Share on other sites

to set the width of your store do the following

 

add to your atylesheet.css

 

 

body, html {

background: #000000;

color: #ffffff;

margin: 0px;

padding:0px;

text-align: center;

}

 

#centrepage{

width: 850px; /*sets the width*/

margin: 10px auto 10px auto;

background: #ffffff;

text-align: left;

}

 

 

 

 

====================================

file = catalog\include\header.php

line = 55, insert new line

 

After the PHP and before the HTML starts

 

<div id= "centrepage" >

 

 

====================================

file = catalog\include\footer.php

last line in file add after everything else

</div>

 

 

Im a little confused as to where exactly to place this...

 

Perhaps u can look at my current style sheet and insert for me? Thank you so much

 

http://www.mrfragrances.com/stylesheet.css

Link to comment
Share on other sites

Im a little confused as to where exactly to place this...

 

Perhaps u can look at my current style sheet and insert for me? Thank you so much

 

http://www.mrfragrances.com/stylesheet.css

 

 

You add the stylesheet bits to the very end of the file

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...