Category Description Display
- brainforge
-
Topic Author
- Offline
Less
More
15 years 2 months ago - 15 years 2 months ago #20474
by brainforge
Category Description Display was created by brainforge
I was investigating where some blank space was coming from in a category display.
This comes from lines 49-51 category/tmpl/listing.php
The HTML generated by this is:
Firebug shows this as:
You can see an example of this on your demo:
Similarly lines 48-50 in product/tmpl/listing.php
This comes from lines 49-51 category/tmpl/listing.php
Code:
<p>
<php echo JHTML::_('content.prepare',$this->element->category_description); >
</p>
Code:
<p><p>My category description</p></p>
Code:
<p> </p><p>My category description</p>
Would it be better if the code in category/tmpl/listing.php used a <div> instead?www.demo.hikashop.com/index.php?option=c...on&Itemid=90&lang=en
Code:
<div class="hikashop_category_description_content">
<?php echo JHTML::_('content.prepare',$this->element->category_description); ?>
</div>
Last edit: 15 years 2 months ago by brainforge.
Please Log in or Create an account to join the conversation.
15 years 2 months ago #20502
by nicolas
Replied by nicolas on topic Re: Category Description Display
Why not yes.
Please Log in or Create an account to join the conversation.
- brainforge
-
Topic Author
- Offline
15 years 2 months ago #20505
by brainforge
Replied by brainforge on topic Re: Category Description Display
Next release presumably.
Please Log in or Create an account to join the conversation.
15 years 2 months ago #20508
by nicolas
Replied by nicolas on topic Re: Category Description Display
Yes.
Please Log in or Create an account to join the conversation.
- brainforge
-
Topic Author
- Offline
15 years 2 months ago #20509
by brainforge
Replied by brainforge on topic Re: Category Description Display
Thanks.
Please Log in or Create an account to join the conversation.
Time to create page: 0.162 seconds