Welcome, Guest ( Customer Panel | Login )




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

shiraz
Starting Member

Pakistan
13 Posts

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

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 ?

Regards
Shiraz

Shiraz Ali Khan
Software Engineer
APDC - Canada

stockman
Starting Member

8 Posts

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

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

body{

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
0 Item(s)
$0.00