Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / I screwed up my site!!

I screwed up my site!!

Locked

Views: 1,071

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
13 Jun 2008, 12:03 AM
#1
bbkidsdad avatar

bbkidsdad

New Zenner

Join Date:
May 2008
Posts:
3
Plugin Contributions:
0

I screwed up my site!!

In an attempt to make a test version I have overwritten my stylesheet. Worse yet I can't figure out where I need to go to remove this stylesheet reference I have added.

Can someone point me in the right direction. I've looked everywhere in my cart directories but I cant' find where this is added? Below is a snippet from a "view source" so it is obviously somewhere.

:censored:

<base href="http://www.gravescox.com/zencart_138a/" /> <link rel="stylesheet" type="text/css" href="includes/templates/arch_shoppe/css/stylesheet.css" /> <link rel="stylesheet" type="text/css" href="includes/templates/arch_shoppe/css/stylesheet_test.css" /> </head>
13 Jun 2008, 12:58 AM
#2
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: I screwed up my site!!

From what I have read on here, Zen Cart automatically parses any .css file as a stylesheet, so simply deleting the stylesheet you don't want referenced will remove it.

If you want to test changes to the stylesheet, make the changes to the original stylesheet.css in your custom folder, rename the old one stylesheet.css.old (on the server) with your ftp software and upload the changed stylesheet.css, that way you can see how the changes look live, and if you don't like it, simply delete stylesheet.css and rename the stylesheet.css.old back to stylesheet.css. ....hope that makes sense LOL

13 Jun 2008, 1:51 AM
#4
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: I screwed up my site!!

Thanx, there was another post here I read not long ago where someone had changed their stylesheet name to something else before uploading a changed one and it was showing both, I can't remember where it was now LOL but it was mentioned about the parsing, so I jumped in with both feet and ended with one back in it's normal place....my mouth ;) LOL grinz

13 Jun 2008, 3:36 AM
#5
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: I screwed up my site!!

Consider getting the Firefox browser with the web developer addon (I think Firebug is similar) which allows you to tinker with the stylesheet and see the results on the fly. You have to save the changes separately and FTP them to your site.

13 Jun 2008, 12:22 PM
#6
bbkidsdad avatar

bbkidsdad

New Zenner

Join Date:
May 2008
Posts:
3
Plugin Contributions:
0

Re: I screwed up my site!!

Thanks, you are correct. Removing the second stylesheet resolved my issue.