Ackis Posted April 9, 2007 Posted April 9, 2007 Could you help me please? I want my header (the logo in my header) to set the with of my site. I don't know exactly what I'm suppose to change but I think it might be in the stylesheet... Am I right?? This is the beginning of my stylesheet. /* $Id: stylesheet.css,v 1.56 2003/06/30 20:04:02 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] Copyright © 2003 osCommerce Released under the GNU General Public License */ DIV.centerpage { width: 80%; position: absolute; left: 30%; top: 0; margin-left: -20%; background: #CCCCCC; background-image:url('images/bg3.gif'); } Is it the 80% I'm going to change? and if so, what am I suppose to write there? Regards Jessica Jessica Fuchs
Ackis Posted April 9, 2007 Author Posted April 9, 2007 Ps. Here is a link to my site. http://rcmaffian.se/oscommerce_st/catalog/index.php Because of that I have a big screen there is a empty space to the right of the logo (header) and I don't want that. Jessica Fuchs
ttetzloff Posted April 9, 2007 Posted April 9, 2007 I use STS Simple Template System to do my layouts with OsCommerce. It makes it soo much easier. If anything needs customizing beyond that you can edit the individule files, but for the basic layout and constraints I would suggest using that. You could possibly even installed it over what you currently have and make the necessary changes, create your template and switch to the new one. Here is a link to the STS contribution. http://www.oscommerce.com/community/contributions,1524 Hope this helps.. :-) -Tyler -Tyler
kirikintha Posted April 9, 2007 Posted April 9, 2007 And the best thing is if you use STS you can make simple modification to the sts_template.html file by wrapping a table and a div and make them all center without having to go back to any other files (that's what I did) <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <div align="center" style="display:inline-block;"> <table width="820" border="0" cellpadding="0" cellspacing="0"> <tr class="mainHeaderBground"> <td>STS TEMPLATE TABLE GOES IN HERE</td> </tr> </table> </div> </td> </tr> </table> Nothing unreal exists
Ackis Posted April 9, 2007 Author Posted April 9, 2007 Hmm.... <_< this seems to be great! If I use that STS can I get my site (shop) to look like this ? http://rcmaffian.se/oscommerce_st/catalog/index1.php If you take a look at the header to the right there are three images that says "mitt konto" (=my account) "varukorg" (=shopping cart) "kassan" (=checkout) I read about STS and it says that you can put links where you want your "boxes or whatever" to appear. If that is true then I can get the layout that I want! (*I'm beginning to be happy again*) Then I will be able to somehow link to these three images and still get it all right.... I hope :blink: (one other thing that I might should write to you, In my new layout I don't want the column to the right or left... the thing that are included in the infobox I have below the header (to the right) as separate buttons... that won't be a problem with STS or?) Thank you soooo much for helping me out!!!!!! Jessica Fuchs
kirikintha Posted April 9, 2007 Posted April 9, 2007 Yes you sure can - STS is a lengthy install - so backup and be careful - if you have any problems keep on posting - but remember there is a tread already for STS, so this may not be the best place to post it. Nothing unreal exists
Ackis Posted April 9, 2007 Author Posted April 9, 2007 wow, :) I will!! I have to go to sleep now so that I can come up and go to work tomorrow.... but this great information will make me sleep VERY WELL!! Every one have told me to give up, it's to complicated to get the layout that I want on the shop.... but I will never give up because of my lack of knowledge in php.... now I win!! *happy* I will do my back up tomorrow and the install STS. Thank you one again!!!!! I want to say thank you a million times to you!!!!!!!!!! I'm so happy I don't really know how to thank you... Well.... I hope you are here tomorrow IF something goes wrong... then I will be back! Have a nice day!! You're the best!!!!!!!!! Regards Jessica Jessica Fuchs
kirikintha Posted April 9, 2007 Posted April 9, 2007 check out one of my installs http://vrquilts.com/catalog You can do so much with it! All OSC STS and a few mods of my own Nothing unreal exists
Recommended Posts
Archived
This topic is now archived and is closed to further replies.