Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / removed cat, sub-cat - prod page titles -partially working

removed cat, sub-cat - prod page titles -partially working

Locked

Views: 1,503

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

bginn

New Zenner

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

removed cat, sub-cat - prod page titles -partially working

Hi,

I had some help from Stevesh initially and was able to prevent these cat, sub-cat and prod heading titles by inserting the following into my the stylesheet.

#indexCategoriesHeading {display:none;}
#productListHeading {display:none;}
.productGeneral {display:none;}

The bi product is that there now is a gap between the bread-crumbs nav text and the content text for cat,sub-cat and product text, which is unwanted.

Although this does remove the unwanted titles, the code is still executing and leaving a blank place-holder. I need help removing the unwanted code and was hoping someone could point me to the right place.

Regards
Bob G

1.38a, Magic SEO, zen light box, some overide code.

14 Jun 2010, 3:04 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: removed cat, sub-cat - prod page titles -partially working

If this is the Lasercraft site, I'm not seeing much space there - I don't think you'd want it any closer.

14 Jun 2010, 3:29 PM
#3
bginn avatar

bginn

New Zenner

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

Re: removed cat, sub-cat - prod page titles -partially working

stevesh:

If this is the Lasercraft site, I'm not seeing much space there - I don't think you'd want it any closer.

Stevesh, good morning! It now works and I know why. When working with the text DBAdmin editor for the cats-subcats and prods, I found a bug. If you change the font etc back and forth, what happens is the html header does not get erased. If I use say Ariel, then change it to Times New Roman etc you end up with a huge header with all the previous fonts still listed in html code.

Last night I removed all the font header stuff and never went back to check the images.

If you check out this link:

http://www.lasercraftstudios.com/leather-gifts-34/biker-wallets-49/

you will see there is no longer a space between the top of the image and the bread crumbs.

I had seen this happen before in the editor but recently found I could view it in html. It had listed 3 or 4 fonts in the header, but of course the last font listed in the html code was what was used.

Wonder if anyone else has seen this?

So, thanks again for your help on this as I can now move forward.

Regards
Bob

14 Jun 2010, 6:55 PM
#4
bginn avatar

bginn

New Zenner

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

Re: removed cat, sub-cat - prod page titles -partially working

bginn:

Stevesh, good morning! It now works and I know why. When working with the text DBAdmin editor for the cats-subcats and prods, I found a bug. If you change the font etc back and forth, what happens is the html header does not get erased. If I use say Ariel, then change it to Times New Roman etc you end up with a huge header with all the previous fonts still listed in html code.

Last night I removed all the font header stuff and never went back to check the images.

If you check out this link:

http://www.lasercraftstudios.com/leather-gifts-34/biker-wallets-49/

you will see there is no longer a space between the top of the image and the bread crumbs.

I had seen this happen before in the editor but recently found I could view it in html. It had listed 3 or 4 fonts in the header, but of course the last font listed in the html code was what was used.

Wonder if anyone else has seen this?

So, thanks again for your help on this as I can now move forward.

Regards
Bob

Stevesh,

Well, I spoke too soon. The entries in the css file work only for the category and sub-category, but all the content text gets removed with the class entry. So, I will double check with Firefox to see if I missed something.

Bob

2 Jul 2010, 4:49 PM
#5
rigel avatar

rigel

New Zenner

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

Re: removed cat, sub-cat - prod page titles -partially working

Is there anyway to remove the page headings on individual pages but leave the one on the main page please. I can comment out of stylesheet but then I lose the one on the main page which I would rather not have to hard code back in.

2 Jul 2010, 5:14 PM
#6
stevesh avatar

stevesh

Black Belt

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

Re: removed cat, sub-cat - prod page titles -partially working

You can remove them from the template file for that page:

For example, in tpl_privacy_default.php you would remove or comment out these lines:

**<div class="centerColumn" id="privacy">

<h1 id="privacyDefaultHeading"><?php echo HEADING_TITLE; ?></h1**>

You can also turn them off in the stylesheet:

#privacyDefaultHeading {display:none;}

2 Jul 2010, 5:24 PM
#7
bginn avatar

bginn

New Zenner

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

Re: removed cat, sub-cat - prod page titles -partially working

Thank you very much!!

stevesh:

You can remove them from the template file for that page:

For example, in tpl_privacy_default.php you would remove or comment out these lines:

**<div class="centerColumn" id="privacy">

<h1 id="privacyDefaultHeading"><?php echo HEADING_TITLE; ?></h1**>

You can also turn them off in the stylesheet:

#privacyDefaultHeading {display:none;}

5 Jul 2010, 6:37 PM
#8
rigel avatar

rigel

New Zenner

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

Re: removed cat, sub-cat - prod page titles -partially working

Thanks - will comment them out. The privacyDefaultHeading is not in my stylesheet.

5 Jul 2010, 10:22 PM
#9
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,644
Plugin Contributions:
0

Re: removed cat, sub-cat - prod page titles -partially working

The privacyDefaultHeading is not in my stylesheet.

You can add things to the stylesheet ...