Whiskers Posted April 6, 2009 Posted April 6, 2009 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!
Hotclutch Posted April 6, 2009 Posted April 6, 2009 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.
Whiskers Posted April 7, 2009 Author Posted April 7, 2009 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?
Hotclutch Posted April 7, 2009 Posted April 7, 2009 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
Whiskers Posted April 8, 2009 Author Posted April 8, 2009 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?
Whiskers Posted April 8, 2009 Author Posted April 8, 2009 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?
Hotclutch Posted April 8, 2009 Posted April 8, 2009 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.
Whiskers Posted April 10, 2009 Author Posted April 10, 2009 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.
Whiskers Posted April 14, 2009 Author Posted April 14, 2009 All sorted now. It just started working!?!? :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.