Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Default Template Installation

Default Template Installation

Views: 929

Results 1 to 14 of 14
5 Mar 2011, 9:40 PM
#1
lam_cs avatar

lam_cs

New Zenner

Join Date:
Mar 2011
Posts:
28
Plugin Contributions:
0

Default Template Installation

I am on Zen 1.3.9h and have had a major issue! I was attempting to edit a font in one of the stylesheets, I followed the advice in a forum, only for some strange reason I decided to over inflate the font-size that I wanted, so it was really obvious if it had worked.

Using thsi same logic I thought it would be just as easy to change it back.

I was worng so I had loads of 5em text overrunnign all the pages, so then in my infinite wisdom though I'd have the .css on a file on my computer somewhere, and deleted the .css with the intention of re-uploading it.

Now the problem is I don't have the original template files anywhere, i installed using fantastico deluxe on ariotek, so they never needed to be downloaded.

Is it possible anyone knows where I can get the default template files to reinstall?

This is kind of urgent, but I suppose it would be for anyone on zen cart.

5 Mar 2011, 9:43 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,176
Plugin Contributions:
0

Re: Default Template Installation

Lam,
What is the website you are asking about.. Url please..
What program did you use to upload the files to your server?

5 Mar 2011, 9:47 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Default Template Installation

Click on the 'Home' link at the top of this page and download the Zencart zip file. All the necessary files are in there.

The 'Classic' template, which is installed by default. and the template_default template are two different things, so make sure you're editing the right files.

Manually installing Zencart is always the better option than using your host's auto-installer.

A link to your site might let us see what you've done wrong.

Edit: Man, that rabbit is fast ...

5 Mar 2011, 10:01 PM
#4
lam_cs avatar

lam_cs

New Zenner

Join Date:
Mar 2011
Posts:
28
Plugin Contributions:
0

Re: Default Template Installation

Okay - nevermind, I found a really easy solution myself, in the end!

I nkow it barely seems like seconds that I posted, but this very simple solution may help someone who is as stupid as me.

Solution, I installed Zen cart on another completely separate domain I had, in a sub directory, so then I could just download the original stylesheet from the installation, to my computer, and then upload it to my current installation of Zen cart.

Easy solution, but it had me panicking for a good half hour before I thought of it.:flex:

5 Mar 2011, 10:02 PM
#5
lam_cs avatar

lam_cs

New Zenner

Join Date:
Mar 2011
Posts:
28
Plugin Contributions:
0

Re: Default Template Installation

.. Oh and thanks for your replies, they came while I was typing mine up! :blush:

5 Mar 2011, 10:04 PM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,176
Plugin Contributions:
0

Re: Default Template Installation

Your welcome glad your site is up and running ... :smile:

5 Mar 2011, 10:05 PM
#7
lam_cs avatar

lam_cs

New Zenner

Join Date:
Mar 2011
Posts:
28
Plugin Contributions:
0

Re: Default Template Installation

The domain by the way is http://www.dars-parts.co.uk

Incidently, you couldn't give me quite concise instructions on editing the stylesheet for the following text to be bigger on my main page, could you?

For engineers advice on what parts to purchase, makes, models, years for appliances, or if you need safety advice please E-mail DARS We will endeavour to get back to you within 24 hours.

:cry:

5 Mar 2011, 10:14 PM
#8
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,176
Plugin Contributions:
0

Re: Default Template Installation

La,
Locate this: > includes/templates/classic/css/stylesheet.cssFind this:

p, address {
padding:0.5em;
}

  1. Add this to the following declaration
  1. font-size:1.3em;
  1. This is for this wording:
5 Mar 2011, 10:16 PM
#9
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Default Template Installation

You could add something like this to the stylesheet:

#indexDefaultMainContent p {
font-size:1.2em;
}

Install the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various page elements.

Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.

Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. An essential tool.

Some prefer Firebug, which does much the same thing.

5 Mar 2011, 10:29 PM
#10
lam_cs avatar

lam_cs

New Zenner

Join Date:
Mar 2011
Posts:
28
Plugin Contributions:
0

Re: Default Template Installation

Well I found the first advice offered resolved the issue, so I didn't try the second.

However the tools suggested for css editing are absolutely blinding ideas, thank you.

I would not have know where to find those, Buit I am absolutely certain they will be of use on this site and some others that I run, so I am most grateful.

The other sites I run is 1 brochure site for a family member's business, my own blog, I am just attempting a forum, and DARS Parts is my first attempt at my own E-commerce site, well my site, but a mate's business.

I don't do too badly for a complete novice.

I couldn't even START to design a site properly, without a template.

I might try learning properly one day...:huh:

5 Mar 2011, 10:32 PM
#11
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,176
Plugin Contributions:
0

Re: Default Template Installation

Lam,
We are all just giving sound advice... The beauty of zen cart and fellow zenner is to teach the tools to access information quicker..

You are doing just fine ... :smile:

5 Mar 2011, 10:45 PM
#12
lam_cs avatar

lam_cs

New Zenner

Join Date:
Mar 2011
Posts:
28
Plugin Contributions:
0

Re: Default Template Installation

That's very nice, thank you.

While you're on, do you know any way of making the urls a bit more friendlier search engine wise, getting rid of all the spurious characters and the item numbers?

5 Mar 2011, 11:05 PM
#14
lam_cs avatar

lam_cs

New Zenner

Join Date:
Mar 2011
Posts:
28
Plugin Contributions:
0

Re: Default Template Installation

Good thread, I actually use ultimate SEO on a couple of wordpress blogs already. (I wonder if it is as esy to use on Zen?) Sometimes I do find forum comments a bit daunting when they get technical though.

I think it is a techie thing to always assume that everyone who puts in the request knows all the Jargon associated with it.

Which is why I asked for concise instructions earlier, and I was very pleased with the way you presented them.

Made it very easy to understand what you were advising me to do.

Replies in forums that are hammered out qucikly and corners cut mid entence can make issues ten times more confusing.

So thanks for that.

Is there a way of 'favouriting', 'friending' you, or rating advise you have givne me?