Zen Cart Logo
Forums / Basic Configuration / class="productListing-heading"

class="productListing-heading"

Locked

Views: 2,043

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
23 Nov 2008, 10:53 PM
#1
webboy634 avatar

webboy634

New Zenner

Join Date:
Nov 2008
Posts:
11
Plugin Contributions:
0

class="productListing-heading"

Having trouble tracking down where to go to change this class.

I can't find it in the stylesheet.css for the classic template.

23 Nov 2008, 10:54 PM
#2
kobra avatar

kobra

Black Belt

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

Re: class="productListing-heading"

What are you seeking to change it to?

23 Nov 2008, 11:09 PM
#3
webboy634 avatar

webboy634

New Zenner

Join Date:
Nov 2008
Posts:
11
Plugin Contributions:
0

Re: class="productListing-heading"

Control baby..i want control..

I hate the file layout of Zen Cart. The people that wrote all the PHP decided to turn it into an absolute MESS. This file pulls from this file and from this file and on and on.

I want to go to the file where this class is so I can play with it; try different settings. That's the reason I asked where to go to access this code. :rolleyes:

24 Nov 2008, 12:14 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: class="productListing-heading"

To "play" with the classes ... have you tried the stylesheet for your template? :unsure:

Everything has its own class and id so you can work things out with the stylesheet and not have to touch the code for things ...

24 Nov 2008, 12:17 AM
#5
webboy634 avatar

webboy634

New Zenner

Join Date:
Nov 2008
Posts:
11
Plugin Contributions:
0

Re: class="productListing-heading"

of course i'd tried the stylesheet. already said that in the post.

this code is sitting somewhere in that mess of PHP and i would like to know where. pretty simple question :)

24 Nov 2008, 12:20 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: class="productListing-heading"

Perhaps you could say what it is you are "trying to change" and those of us who are not real bright could help you better if you cannot change the productListing-heading class to something that works for you in the stylesheet ... :smile:

24 Nov 2008, 12:24 AM
#7
webboy634 avatar

webboy634

New Zenner

Join Date:
Nov 2008
Posts:
11
Plugin Contributions:
0

Re: class="productListing-heading"

I'm just asking for the location of the php file or css file that controls:

class="productListing-heading"

I'm a web developer. I work in ASP.Net and VB.Net along with SQL 2005. If you just point me to the file, I can take it from there.

That's all I need.

24 Nov 2008, 12:31 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: class="productListing-heading"

I'd look in your templates and overrides files:
/includes/templates/your_template_dir/css

there are 3 stylesheets in there and you need to peek in the one called:
stylesheet.css

NOTE: the code generates all of the classes and ids that you need for the stylesheets ... however, not all classes and ids are specifically defined as they inherit their features from the thing-a-ma-bob that stylesheets use to make classes and ids work ...

Don't you love when I get all techie on stylesheets? :cool:

So if you don't have the specific class and/or id in the stylesheet ... knock yourself out and add it ... if we added every single one of them your stylesheet would be a monster ...

We just wrote the code so that everything has its own unique class/id features ...

Hope that leads you in the right direction ...

24 Nov 2008, 12:35 AM
#9
webboy634 avatar

webboy634

New Zenner

Join Date:
Nov 2008
Posts:
11
Plugin Contributions:
0

Re: class="productListing-heading"

looked all through that stylesheet.css file. the properties for this class are being set up somewhere else.

Here's the exact code I'm trying to change:
<a href="http://www.--------.com/index.php?main_page=index&cPath=1&page=1&sort=3a" title="Sort products ascendingly by Price" class="productListing-heading">Price</a>

The productListing-heading reference is all over that place so it's used a LOT.

24 Nov 2008, 12:36 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: class="productListing-heading"

Another handy tool that you might wish to utilize is the Tools ... Developers Tool Kit ...

Using the bottom input box you can enter any text, code, etc. that is in the php and it will locate all of the filenames and line numbers for where it is ...

You can also search for configuration_keys in the configuration table and the product_type_layout table by enter the constant in the Top input box and it will list the value and a link to take you to where in the Configuration setting the configuration_key is located ...

24 Nov 2008, 12:38 AM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: class="productListing-heading"

webboy634:

looked all through that stylesheet.css file. the properties for this class are being set up somewhere else.

Here's the exact code I'm trying to change:
<a href="http://www.--------.com/index.php?main_page=index&cPath=1&page=1&sort=3a" title="Sort products ascendingly by Price" class="productListing-heading">Price</a>

The productListing-heading reference is all over that place so it's used a LOT.

As I said, if you do not have a class in your stylesheet ... simply add one ... and voila ... you can now customize it with your stylesheet ... :smile: