Site maintenance: Sun 15 Nov, from 20:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Templates, Stylesheets, Page Layout / Category Name in Center of Page Edit

Category Name in Center of Page Edit

Locked

Started by stevid1 on 3 Aug 2006, 10:27 PM · Views: 1,296

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
3 Aug 2006, 10:27 PM
#1
stevid1 avatar

stevid1

New Zenner

Join Date:
Mar 2006
Posts:
4
Plugin Contributions:
0

Category Name in Center of Page Edit

Hi This is my first post and I am a novice at code. Thanks for your patience....

How do I delete or edit out the center title (which I believe is the name of the category) “HotSees” as well as the white space below and above? I want to keep the copy (Stylish,Trendy etc.etc.) but I want to remove “HotSees” and reduce the space this takes up so my products show higher on the page
http://boomereyeware.com/store/index.php?main_page=index&cPath=7

Thank you,
Steve

3 Aug 2006, 10:57 PM
#2
Kim avatar

Kim

Obaa-san

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

Re: Category Name in Center of Page Edit

In your custom templates/tpl_index_product_list.php find and remove:

<h1 id="productListHeading"><?php echo $breadcrumb->last(); ?></h1>

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

4 Aug 2006, 5:30 AM
#3
mrforce avatar

mrforce

New Zenner

Join Date:
Aug 2006
Location:
Big D
Posts:
36
Plugin Contributions:
0

Re: Category Name in Center of Page Edit

Perfect timing on this Q/A. I was looking for the very thing this evening...
Just an added note. If you also wish to remove the Category header (as I did) from the category pages...

In your custom templates/tpl_index_categories.php find:

<?php if (DEFINE_MAIN_PAGE_STATUS >= 1 and DEFINE_MAIN_PAGE_STATUS <= 2) { ?>
<div id="indexCategoriesMainContent" class="content"><?php
/**
 * require the html_define for the index/categories page
 */
  include($define_page);
?></div>
<?php } ?>

<?php } else { ?>
<h1 id="indexCategoriesHeading"><?php echo $breadcrumb->last(); ?></h1>
-->
<?php } ?>

I'm an admitted noob, but applied Kim-san's method and rem'd the following line from the snippet above:

<!--
<h1 id="indexCategoriesHeading"><?php echo $breadcrumb->last(); ?></h1>
-->

Cheers,

Craig