Forums / Templates, Stylesheets, Page Layout / do not display category and product page titles

do not display category and product page titles

Locked

Views: 1,215

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
11 Jun 2010, 3:33 PM
#1
bginn avatar

bginn

New Zenner

Join Date:
May 2010
Posts:
48
Plugin Contributions:
0

do not display category and product page titles

1.38a
Magic SEO, Zen Lightbox, custom main page

Hi,

On each of the category and product pages, the menu title of that page shows for each page respectively. I need to NOT display this text as I will be replace these names with some custom text/images instead. I went through the admin configuration layout, but did not see option that would do this.

Can you help?

Thanks
Bob

11 Jun 2010, 3:50 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: do not display category and product page titles

The ids of those names depends on the page, so the easiest way to figure out what is where is by installing the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various page elements.

Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.

Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. A very handy tool.

Then you can either turn the id off in the stylesheet by using display:none; or (better) use the Admin - Tools - Developers Tool Kit to search for the id name, find the code in the template files that creates that text and remove it or comment it out.

11 Jun 2010, 3:56 PM
#3
bginn avatar

bginn

New Zenner

Join Date:
May 2010
Posts:
48
Plugin Contributions:
0

Re: do not display category and product page titles

stevesh:

The ids of those names depends on the page, so the easiest way to figure out what is where is by installing the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various page elements.

Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.

Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. A very handy tool.

Then you can either turn the id off in the stylesheet by using display:none; or (better) use the Admin - Tools - Developers Tool Kit to search for the id name, find the code in the template files that creates that text and remove it or comment it out.

Thanks Stevesh,

Yes I can see where this plugin would be very handy. So it sounds like these strings for the cat and prod pages, are dynamically generated. Not sure though. Do you no what the name of the style sheet that these names are generated?

Thanks
Bob

11 Jun 2010, 4:15 PM
#4
bginn avatar

bginn

New Zenner

Join Date:
May 2010
Posts:
48
Plugin Contributions:
0

Re: do not display category and product page titles

bginn:

Thanks Stevesh,

Yes I can see where this plugin would be very handy. So it sounds like these strings for the cat and prod pages, are dynamically generated. Not sure though. Do you no what the name of the style sheet that these names are generated?

Thanks
Bob

Stevesh,

Is the addon authors name Chris Pederick? The reason I ask is there seems to be similar addons with the "web developer" title in them.

thanks
bob

11 Jun 2010, 4:58 PM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: do not display category and product page titles

Yes, that's the one I use. Some here prefer Firebug, which does similar stuff.

Almost all pages in Zencart are created dynamically. Most of those page headings will be foundin the template files for each page, and the Developers Tool Kit should pin them down for you.

11 Jun 2010, 4:58 PM
#6
bginn avatar

bginn

New Zenner

Join Date:
May 2010
Posts:
48
Plugin Contributions:
0

Re: do not display category and product page titles

stevesh:

The ids of those names depends on the page, so the easiest way to figure out what is where is by installing the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various page elements.

Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.

Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. A very handy tool.

Then you can either turn the id off in the stylesheet by using display:none; or (better) use the Admin - Tools - Developers Tool Kit to search for the id name, find the code in the template files that creates that text and remove it or comment it out.

Ok got it all installed but no go. I highlighted the text on a category page, and I found a number of strings within the line it showed. One of them was #indexCategoriesHeading. There were others on the same line that started with "#" but not sure which one to use. I tryed #indexCategoriesHeading, hit the Ctrl-Shift-E and got a stylesheet, but when searching for the string, it could not find it.

I went into DBAdmin to do the search and it said it found the string, but when I opened the file that the search provided, I did a find within the sheet, and that too did not return a result either. Really strange.

So the long of the short of it, I must be doing this wrong.

Bob

11 Jun 2010, 6:43 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: do not display category and product page titles

You are:smile:.

If a particular id or class (id's start with #, classes with a dot (.)) isn't in the stylesheet, add it.

If, for example, #indexCategoriesHeading doesn't exist in the stylesheet, add it and then add the styling. Many Zencart id's and classes aren't in the default stylesheet. So, if you add:

#indexCategoriesHeading {display:none;}

to the stylesheet, it will turn off that text.

As I mentioned, it's better to remove that text display from the template file, by using the Developers Tool Kit to find which file it's in and remove that part of the code.

There's nothing in your database management program that's useful here.

11 Jun 2010, 7:25 PM
#8
bginn avatar

bginn

New Zenner

Join Date:
May 2010
Posts:
48
Plugin Contributions:
0

Re: do not display category and product page titles

stevesh:

You are:smile:.

If a particular id or class (id's start with #, classes with a dot (.)) isn't in the stylesheet, add it.

If, for example, #indexCategoriesHeading doesn't exist in the stylesheet, add it and then add the styling. Many Zencart id's and classes aren't in the default stylesheet. So, if you add:

#indexCategoriesHeading {display:none;}

to the stylesheet, it will turn off that text.

As I mentioned, it's better to remove that text display from the template file, by using the Developers Tool Kit to find which file it's in and remove that part of the code.

There's nothing in your database management program that's useful here.

OK, well sounds funny to me as firefox hover shows #indexCategoriesHeading, but it does not exist as far as I can see. So where is Firefox hover getting it's information?

Bob

11 Jun 2010, 8:18 PM
#9
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: do not display category and product page titles

It's getting it from the tpl_xxx.php file.

If you want to change it, add that id to the stylesheet.