VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Left Right Margins
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

13 Posts

Posted - September 01 2006 :  15:58:10  Show Profile  Reply with Quote

I want to leave left and right margins on each page of my cart, any easy way to do this, plz guide me !!! Can it be done through css way ?


Shiraz Ali Khan
Software Engineer
APDC - Canada

Starting Member

8 Posts

Posted - September 03 2006 :  18:49:22  Show Profile  Reply with Quote

yes, you can do it in shop.css. This file is located in stylesheets folder. Open it in Notepad and find style for body tag. It is located at the top and looks like


background-image: url(../images/header/hdrbg.jpg);
background-repeat: repeat-x;
background-position : top;
margin : 0px 0px 0px 0px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;

you need to change only one line. It starts with margin word and has four values(0px,0px,0px,0px). If you want to change right and left margins you need to change second and fourth values.

For example: if you have in body section of CSS

margin : 0px 10px 0px 20px;

it means that your shopping cart is 10 px from the right side and 20px from the left one.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000