Zen Cart Logo
Forums / Addon Templates / Template Monster Template Installation Problem

Template Monster Template Installation Problem

Locked

Views: 10,419

Results 21 to 22 of 22
This thread is locked. New replies are disabled.
15 Jul 2009, 8:22 PM
#21
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Template Monster Template Installation Problem

and hope that you never have to turn on any of the functions that TM decided were not needed

Zen cart PCI compliant Hosting

23 Sep 2009, 7:15 AM
#22
dropbop avatar

dropbop

Zen Follower

Join Date:
Apr 2008
Location:
Athlone, Ireland
Posts:
177
Plugin Contributions:
1

Re: Template Monster Template Installation Problem

Was just playing around with a TM template last night trying to get it to center.

I tried all sorts of stuff but no matter what I did it would stay left aligned.

So instead of centering i just created a left margin of 225px and that make it look like its centered. Ok, its not gonna look great when someone has their FF or IE window half open, but how many people really browse the internet half screen anyway.

here is what I did.. depending on the width of your TM template you can change this around to suite.

includes/templates/YOUR_TM_TEMPLATE/css/stylesheet.css

at the top of the file find:

#body {

and just below it put:

margin-left: 225px;

So you end up with this (or something similar depending on the template you have):

body {
	margin-left: 225px;
        font-family: verdana, arial, helvetica, sans-serif;
        font-size: 62.5%;
        background-color: #fff;
        color: #464646;
        background-image: url(../images/bg_main.gif);
        background-repeat: repeat-x;