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.
Views: 2,043
New Zenner
Having trouble tracking down where to go to change this class.
I can't find it in the stylesheet.css for the classic template.
Black Belt
What are you seeking to change it to?
New Zenner
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:
Oba-san
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 ...
New Zenner
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 :)
Oba-san
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:
New Zenner
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.
Oba-san
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 ...
New Zenner
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.
Oba-san
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 ...
Oba-san
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:
Tell staff why this post should be reviewed.