Forums / Templates, Stylesheets, Page Layout / clarification on "CSS_read_me.txt and css useage

clarification on "CSS_read_me.txt and css useage

Locked

Views: 1,372

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
18 Aug 2006, 4:06 PM
#1
pais avatar

pais

New Zenner

Join Date:
Aug 2006
Posts:
1
Plugin Contributions:
0

clarification on "CSS_read_me.txt and css useage

Hello, and first post so I will try to be quick about it. I am creating a site off line presently, while learning Zen-Cart (Great system, by the way!). At the moment I have my products created, all of the overrides that I need so far correctly placed in their respective folders, and style sheet changes to the page. My question now is, in the css_read_me.txt included in the template_default->css folder, it states that I can have multiple style sheets, and they are invoked by the name of the page. Hypothetical example: for a page named products.html, I would have a style sheet called products.css. Is this correct? My question comes down to this: how do I know the name of the page so that I may properly name my style sheet for it. My top level category layout is as such - Prints, Calendars, Note Cards, Original Works. When a guest clicks on one of these links, I would like to use another style sheet on the resulting (linked) page, and not the stylesheet.css(default). If this rambling doesn't make sense, I can try to clarify it. Thank you in advance for your insight.

18 Aug 2006, 9:10 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: clarification on "CSS_read_me.txt and css useage

in your Zen Cart URL's, the page name it's referring to is determined from XXXXXX in this example:

http://...../index.php?main_page=XXXXXXXX

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Nov 2006, 10:11 AM
#3
cosmicomic avatar

cosmicomic

New Zenner

Join Date:
Feb 2006
Posts:
32
Plugin Contributions:
0

Re: clarification on "CSS_read_me.txt and css useage

Im trying to put custom stylesheets for the ezpages so i can have a different background on each page. Ive succesfully managed to call a custom stylesheet for the named pages such as contact us etc., but have tried all manner of combination for easy pages without success, ive tried everything that comes after main_page=
ive tried ezid=1.css id=1.css page&id=1.css.

Can anyone she any light on this for me? im really baffled!!!!

Thanks very much!!!!
:-)

16 Nov 2006, 2:34 AM
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: clarification on "CSS_read_me.txt and css useage

page.css would be the stylesheet name for EZ-Pages and it would apply to all the pages.

I don't think you can drill it down to an individual id.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

20 Nov 2006, 12:02 PM
#5
cosmicomic avatar

cosmicomic

New Zenner

Join Date:
Feb 2006
Posts:
32
Plugin Contributions:
0

Re: clarification on "CSS_read_me.txt and css useage

Thanks for that! saves me spending fruitless time on it. Maybe it will be available in an future update?

Thanks again!

25 Nov 2006, 10:31 PM
#6
irischant avatar

irischant

New Zenner

Join Date:
Nov 2004
Location:
Pittsburgh, PA
Posts:
23
Plugin Contributions:
0

Re: clarification on "CSS_read_me.txt and css useage

I've figured out how to style the ezpages...explained in this thread.

Christina

25 Nov 2006, 10:41 PM
#7
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: clarification on "CSS_read_me.txt and css useage

irischant:

I've figured out how to style the ezpages...explained in this thread.

Christina

Christina,

Nice job with the modification. Tried it out on my test site and it works just fine.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.