Forums / Templates, Stylesheets, Page Layout / The Quickest and Easiest way to work out what does what on the CSS style sheet

The Quickest and Easiest way to work out what does what on the CSS style sheet

Sticky

Views: 85,091

Results 41 to 48 of 48
5 Aug 2011, 6:44 PM
#41
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,109
Plugin Contributions:
56

The Quickest and Easiest way to work out what does what on the CSS style sheet

Check out http://www.w3schools.com/css/default.asp for a good source of CSS constructs; they also have information about HTML.

14 Sep 2011, 6:05 PM
#42
biillo avatar

biillo

New Zenner

Join Date:
Jul 2010
Posts:
23
Plugin Contributions:
0

Re: The Quickest and Easiest way to work out what does what on the CSS style sheet

I know this has been here a long time, and I could search to see if anyone has already mentioned this:

a img {border: none} This removes the blue border from images used as links.

8 Oct 2011, 5:08 AM
#43
drbyte avatar

drbyte

Sensei

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

Re: The Quickest and Easiest way to work out what does what on the CSS style sheet

.
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 Dec 2011, 3:12 AM
#44
mdivk avatar

mdivk

Zen Follower

Join Date:
Sep 2011
Location:
Toronto, Ontario, Canada
Posts:
290
Plugin Contributions:
0

Re: The Quickest and Easiest way to work out what does what on the CSS style sheet

Thank you guys for Firebug

15 Dec 2011, 5:54 PM
#45
dave_yonts avatar

dave_yonts

New Zenner

Join Date:
May 2011
Posts:
9
Plugin Contributions:
0

Re: The Quickest and Easiest way to work out what does what on the CSS style sheet

I am running the latest version of Zen Cart 1.3.9h, I am trying with no success to change the white background color around my products. Link is Gizzys I have been able to figure out how to do it on other things but this one has got me stumped:censored:

Any help that someone can give will be greatly appreciated

[email protected]

3 Jul 2012, 6:59 PM
#46
rickoh28 avatar

rickoh28

New Zenner

Join Date:
Jun 2012
Posts:
4
Plugin Contributions:
0

Re: The Quickest and Easiest way to work out what does what on the CSS style sheet

I have no problem finding the CSS stylesheets, but my problem is finding the HTML code that it applies to?
When I look at any of the pages, all I see is a message "load the html_define for the page_2 default",
I can go online and "view source code" and see the HTML and even edit it in FireBug, but where do I find it in ZenCart?
As you can tell, I am also a neewbie,
Thanks,
Rick

5 Jul 2012, 1:54 AM
#47
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: The Quickest and Easiest way to work out what does what on the CSS style sheet

The "html" is in literally THOUSANDS of places - all in tiny little "pieces" mostly - and practically all of it is shrouded in PHP CODE.

What you see on your browser screen (when you VIEW PAGE SOURCE), is just the RESULT of the php CONSTRUCTING that page, from all the myriad of resources it gets information from.

There are no "HTML" pages in a dynamic content website. ALL pages are cobbled together by the code, and then delivered to the browser screen. When the viewer clicks a link, or performs an action (eg: add to cart), the page they are on EVAPORATES FOREVER... and a brand new page is built up on-the-fly by the PHP. Any click on a page makes it vanish forever, and a new page is built in its place....

... along the way, calculations can be performed, data captured, and specified conditions "tested" (eg: the visitor can only do this of they are logged in).

So... if you are looking for the HTML, it is there... but not in the format you are expecting it to be...

20 years a Zencart User

5 Jul 2012, 2:05 AM
#48
drbyte avatar

drbyte

Sensei

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

Re: The Quickest and Easiest way to work out what does what on the CSS style sheet

Add to that:
The fast way to find out which specific file to edit is by using the Developers Toolkit in your Admin:
http://www.zen-cart.com/content.php?80-how-do-i-find-out-what-files-to-edit
http://www.zen-cart.com/content.php?81-how-do-i-use-the-developers-toolkit

But even then, it's important to realize that there's seldom any reason to edit files outside of the templates or languages folders.

.
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.