Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Center align the page..

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-27-2007, 09:08 PM
 
yuichi yuichi is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 42
 

Default Center align the page..

Hi guys,

I don't know if this question has been asked before, but I desperately need help on template mod. I looked for an answer on the forum, but couldn't find it....
Basically, I want to design a lite like target.com aligning the entire fixed page in the center.
How can we do that?
__________________
X-Cart Ver: 4.1.9 Gold
X-Cart Ver: 4.1.10 Gold
Reply With Quote
  #2  
Old 05-27-2007, 09:32 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Center align the page..

one way to do it:

skin1.css

TABLE.Container { width: 800px; margin-left: auto; margin-right: auto; background-color: #FFFFFF; }

That's one way to do it...
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #3  
Old 05-28-2007, 11:46 AM
 
yuichi yuichi is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 42
 

Default Re: Center align the page..

Thank you!!! That was awesome!!
This is my first X-Cart mod, so I am sooo new to all the template editing.
If you don't mind me asking, where do you think I could get a good "How to" instrucitions on editing the template, or writing a X-Cart template from scratch?
__________________
X-Cart Ver: 4.1.9 Gold
X-Cart Ver: 4.1.10 Gold
Reply With Quote
  #4  
Old 05-28-2007, 12:07 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Center align the page..

http://forum.x-cart.com/showthread.php?t=21529
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 05-28-2007, 12:13 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Center align the page..

Quote:
Originally Posted by yuichi
where do you think I could get a good "How to" instrucitions on editing the template, or writing a X-Cart template from scratch?

making a template from scratch will require a SERIOUS skillset, including expertise in xhtml, css, smarty and possibly php.

may I suggest reading the forum here, possibly buying a 3rd party template (learn from the best) and become a student of xcart.

start by editing the CSS and from there, just dig in!

Remember, there are few "major" changes -- most are minor... thousands of minor changes all add up to something great.

Just start -- and set limits for yourself, or else you will never sleep.

Good luck.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #6  
Old 05-28-2007, 03:18 PM
 
yuichi yuichi is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 42
 

Default Re: Center align the page..

Thankyou guys!! I really appreciate for all your help and very very quick reply! As you recommend, I am going to start slowly changing CSS and learn. Its true that for learning anything, you have to start a step at a time. I guess I was looking for some kind of a shortcut, but now that I know there isn't much way around it, I am motivated to really sit down, have a big coffee right next to me, and do it!

Much appreciated for your support!!

also, I have printed Ryan's editing guide so that I have a hard copy right next to me when I am editing the page!
__________________
X-Cart Ver: 4.1.9 Gold
X-Cart Ver: 4.1.10 Gold
Reply With Quote
  #7  
Old 05-28-2007, 03:21 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Center align the page..

Don't forget, WEBMASTER MODE is your friend!

I use it every day.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #8  
Old 05-29-2007, 08:37 PM
 
yuichi yuichi is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 42
 

Default Re: Center align the page..

I started doing some mods and its WORKING!!!!

Thanks guys!
__________________
X-Cart Ver: 4.1.9 Gold
X-Cart Ver: 4.1.10 Gold
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:38 PM.

   

 
X-Cart forums © 2001-2020