Zen Cart Logo
Forums / General Questions / edit stylesheet for 1 page only

edit stylesheet for 1 page only

Locked

Views: 504

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
13 Nov 2010, 8:34 PM
#1
thierrypas avatar

thierrypas

New Zenner

Join Date:
Nov 2010
Posts:
4
Plugin Contributions:
0

edit stylesheet for 1 page only

I am trying to edit a stylesheet for only 1 page. I do know what to edit thanks to Firebug, but any change I make affects other pages as well. I have tried to name this stylesheet with the page's name, but it doesn't make any difference.
My browser shows ..../index.php?main_page=checkout_payment for the page I am trying to edit.

The manual does not go into changing just 1 page, so I am at a loss. My guess is that I am either naming the page wrongly or I place it in the wrong folder.
Could someone explain the rules for that purpose (other than the read me CSS_read_me.txt located in the template-default)?
Thanks a lot!

13 Nov 2010, 8:38 PM
#2
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: edit stylesheet for 1 page only

just create a file called checkout_payment.css and put the changes in the file. Upload it to the CSS folder along with your stylesheet.css

All you need in the file are the specific changes to that page. Nothing else. It'll end up being just a few KB

13 Nov 2010, 8:38 PM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: edit stylesheet for 1 page only

The manual does not go into changing just 1 page, so I am at a loss. My guess is that I am either naming the page wrongly or I place it in the wrong folder.
It goes in your templates /css folder

Also there should be a readme that outlines per-page css
If not in yours look for it in /template_default/css

13 Nov 2010, 11:05 PM
#4
thierrypas avatar

thierrypas

New Zenner

Join Date:
Nov 2010
Posts:
4
Plugin Contributions:
0

Re: edit stylesheet for 1 page only

Thank you so much! I had tried different name versions, but not the correct one. :-)
Hope this helps other newbies like myself.
Thierry