Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / sub category heading displays differently

sub category heading displays differently

Views: 694

Results 1 to 9 of 9
14 Apr 2011, 6:03 PM
#1
usr50 avatar

usr50

Zen Follower

Join Date:
Mar 2009
Location:
Niagara Ontario
Posts:
136
Plugin Contributions:
0

sub category heading displays differently

view this http://brooklynn.ky/shop/index.php?main_page=index&cPath=3_14

and compare to this http://brooklynn.ky/shop/index.php?main_page=product_info&cPath=3_68&products_id=200

the heading is displaying differently for the different products?

the title should be above the category icon and be bold txt.

what have I done to cause this?

14 Apr 2011, 6:54 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: sub category heading displays differently

Please read this tutorial about div id's on product page..> https://www.zen-cart.com/tutorials/index.php?article=5

14 Apr 2011, 7:06 PM
#3
usr50 avatar

usr50

Zen Follower

Join Date:
Mar 2009
Location:
Niagara Ontario
Posts:
136
Plugin Contributions:
0

Re: sub category heading displays differently

Haredo
it's a <h1> tag that is missing for certain products and your link shows that it is the

<!--bof Product Name--> <h1 id="productName" class="productGeneral"><?php echo $products_name; ?></h1> <!--eof Product Name--> will have to dig deeper and repost-- thx
14 Apr 2011, 7:16 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,182
Plugin Contributions:
0

Re: sub category heading displays differently

you asked this: the title should be above the category icon

So when you read the tutorial just move that block above the image

or try this and set your order...
admin panel/ configuration/ product listing and set the order 1 or 2 or 3. notice the others and their value

14 Apr 2011, 8:06 PM
#5
usr50 avatar

usr50

Zen Follower

Join Date:
Mar 2009
Location:
Niagara Ontario
Posts:
136
Plugin Contributions:
0

Re: sub category heading displays differently

I'm wrong not even close.

14 Apr 2011, 8:08 PM
#6
usr50 avatar

usr50

Zen Follower

Join Date:
Mar 2009
Location:
Niagara Ontario
Posts:
136
Plugin Contributions:
0

Re: sub category heading displays differently

will try to set order and re post

14 Apr 2011, 9:35 PM
#7
usr50 avatar

usr50

Zen Follower

Join Date:
Mar 2009
Location:
Niagara Ontario
Posts:
136
Plugin Contributions:
0

Re: sub category heading displays differently

Uninstalled product . Re installed product and it displays correctly. Tylenol ? LOL

15 Apr 2011, 1:14 AM
#8
usr50 avatar

usr50

Zen Follower

Join Date:
Mar 2009
Location:
Niagara Ontario
Posts:
136
Plugin Contributions:
0

Re: sub category heading displays differently

spoke too soon it has returned. need to reassess this again. the 'productlistheading' is fine until I upload the main product image,

15 Apr 2011, 8:34 PM
#9
usr50 avatar

usr50

Zen Follower

Join Date:
Mar 2009
Location:
Niagara Ontario
Posts:
136
Plugin Contributions:
0

Re: sub category heading displays differently

Solved.
This was not a styling or coding issue.
Instance was caused by not creating a sub- category .

first create a category and image named 'category_image.gif
next create subcategory and image named 'subcategory_image.gif
then create new product in subcategory.-- solved