Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I make my website recessed?


Whiskers

Recommended Posts

Posted

Hi all,

 

I would like to know how to make my website so that it sits in the middle of an outline like these sites here:

 

www.gowercoastadventures.co.uk

www.envyperformance.com

 

Thanks in advance!

Posted
Hi all,

 

I would like to know how to make my website so that it sits in the middle of an outline like these sites here:

 

www.gowercoastadventures.co.uk

www.envyperformance.com

 

Thanks in advance!

 

Look for "centre and size shop" in the contribution section.

Posted
Look for "centre and size shop" in the contribution section.

 

I've done that, that was nice and easy! Thanks! The only problem is that I now have to use the scroller at the bottom to move across to see the rest of the page. When I change the settings in admin to resize the store I presumed it would fit it to the screen or something, but nothing happens. Any ideas?

Posted
I've done that, that was nice and easy! Thanks! The only problem is that I now have to use the scroller at the bottom to move across to see the rest of the page. When I change the settings in admin to resize the store I presumed it would fit it to the screen or something, but nothing happens. Any ideas?

 

Is this the contribution that you used?

http://addons.oscommerce.com/info/1485

 

There are no Admin settings with the above applied. You size your shop in the stylesheet.css

Posted
Is this the contribution that you used?

http://addons.oscommerce.com/info/1485

 

There are no Admin settings with the above applied. You size your shop in the stylesheet.css

 

Hi, yes that was the one. There is a whole admin section that is installed with it. It allows me to change the border colour, width, etc., but the shop size bit that is in it doesn't do anything. I used the 3rd from the bottom if that makes a difference with the shop sizing at all. Where in the stylesheet do I change it if not?

Posted
Is this the contribution that you used?

http://addons.oscommerce.com/info/1485

 

There are no Admin settings with the above applied. You size your shop in the stylesheet.css

 

Hi, yes that was the one. There is a whole admin section that is installed with it. It allows me to change the border colour, width, etc., but the shop size bit that is in it doesn't do anything. I used the 3rd from the bottom if that makes a difference with the shop sizing at all. Where in the stylesheet do I change it if not?

Posted
Hi, yes that was the one. There is a whole admin section that is installed with it. It allows me to change the border colour, width, etc., but the shop size bit that is in it doesn't do anything. I used the 3rd from the bottom if that makes a difference with the shop sizing at all. Where in the stylesheet do I change it if not?

 

I should have pointed out that I used Spooks' contrib dated 9 Jul 2009. If you follow that advice then you're done...no other modifications execpt to set the width according to how you want it.

 

See instruction below: CSS refers stylesheet.css in public_html\ or public_html\catalog\ BODY tag refers to this piece of code in the stylesheet (approx line 20)

 

BODY {

background: #ffffff;

color: #000000;

margin: 0px;

text-align:center;

}

 

 

To center & size Shop

 

At the very start of header.php add:

 

<div id="content">

 

then at the very bottom of footer.php add:

 

</div>

 

then add to your css:

 

#content {

width: 900; margin: auto;

border: 1px solid #999999;

text-align:center;

}

 

and add to the BODY tag

 

text-align:center;

 

Obviously set width above to whatever you need.

Posted
I should have pointed out that I used Spooks' contrib dated 9 Jul 2009. If you follow that advice then you're done...no other modifications execpt to set the width according to how you want it.

 

See instruction below: CSS refers stylesheet.css in public_html\ or public_html\catalog\ BODY tag refers to this piece of code in the stylesheet (approx line 20)

 

BODY {

background: #ffffff;

color: #000000;

margin: 0px;

text-align:center;

}

 

 

To center & size Shop

 

At the very start of header.php add:

 

<div id="content">

 

then at the very bottom of footer.php add:

 

</div>

 

then add to your css:

 

#content {

width: 900; margin: auto;

border: 1px solid #999999;

text-align:center;

}

 

and add to the BODY tag

 

text-align:center;

 

Obviously set width above to whatever you need.

 

I done that, but it didn't quite do what I wanted it to do. I guess I'll have to keep digging around.

Archived

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

×
×
  • Create New...