[Skip to main content](#vessel-content)

#   Category Description Display

##

- **[brainforge](/forum/user/423-brainforge "View brainforge's Profile")**
- [![brainforge's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar423.jpg)](/forum/user/423-brainforge "View brainforge's Profile") Topic Author
- [ Offline](/forum/user/423-brainforge)

Less More

- Posts: 298
- Thank you received: 5
-
-
-
- [](https://brainforge.co.uk)
-

15 years 4 months ago -  15 years 4 months ago [\#20474](#20474) by [brainforge](/forum/user/423-brainforge "View brainforge's Profile")  *[Category Description Display](/forum/3-bug-report/20474-category-description-display#20474 "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: Would it be better if the code in category/tmpl/listing.php used a  instead? Similarly lines 48-50 in product/tmpl/listing.php")* was created by *[brainforge](/forum/user/423-brainforge "View brainforge's Profile")*

I was investigating where some blank space was coming from in a category display.
This comes from lines 49-51 category/tmpl/listing.php Code:

&lt;p&gt; &lt;php echo JHTML::_('content.prepare',$this-&gt;element-&gt;category_description); &gt; &lt;/p&gt;

The HTML generated by this is: Code:

&lt;p&gt;&lt;p&gt;My category description&lt;/p&gt;&lt;/p&gt;

Firebug shows this as: Code:

&lt;p&gt; &lt;/p&gt;&lt;p&gt;My category description&lt;/p&gt;

You can see an example of this on your demo:

> [ www.demo.hikashop.com/index.php?option=c...on&amp;Itemid=90&amp;lang=en](http://www.demo.hikashop.com/index.php?option=com_hikashop&ctrl=category&task=listing&cid=13&name=fashion&Itemid=90&lang=en)

Would it be better if the code in category/tmpl/listing.php used a &lt;div&gt; instead? Code:

&lt;div class="hikashop_category_description_content"&gt; &lt;?php echo JHTML::_('content.prepare',$this-&gt;element-&gt;category_description); ?&gt; &lt;/div&gt;

Similarly lines 48-50 in product/tmpl/listing.php

Last edit: 15 years 4 months ago by [brainforge](/forum/user/423-brainforge "View brainforge's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yMDQ3NC1jYXRlZ29yeS1kZXNjcmlwdGlvbi1kaXNwbGF5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

15 years 4 months ago [\#20502](#20502) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Category Description Display](/forum/3-bug-report/20474-category-description-display#20502 "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: Would it be better if the code in category/tmpl/listing.php used a  instead? Similarly lines 48-50 in product/tmpl/listing.php")*

Why not yes.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yMDQ3NC1jYXRlZ29yeS1kZXNjcmlwdGlvbi1kaXNwbGF5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[brainforge](/forum/user/423-brainforge "View brainforge's Profile")**
- [![brainforge's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar423.jpg)](/forum/user/423-brainforge "View brainforge's Profile") Topic Author
- [ Offline](/forum/user/423-brainforge)

Less More

- Posts: 298
- Thank you received: 5
-
-
-
- [](https://brainforge.co.uk)
-

15 years 4 months ago [\#20505](#20505) by [brainforge](/forum/user/423-brainforge "View brainforge's Profile")  Replied by *[brainforge](/forum/user/423-brainforge "View brainforge's Profile")* on topic *[Re: Category Description Display](/forum/3-bug-report/20474-category-description-display#20505 "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: Would it be better if the code in category/tmpl/listing.php used a  instead? Similarly lines 48-50 in product/tmpl/listing.php")*

Next release presumably.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yMDQ3NC1jYXRlZ29yeS1kZXNjcmlwdGlvbi1kaXNwbGF5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

15 years 4 months ago [\#20508](#20508) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Category Description Display](/forum/3-bug-report/20474-category-description-display#20508 "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: Would it be better if the code in category/tmpl/listing.php used a  instead? Similarly lines 48-50 in product/tmpl/listing.php")*

Yes.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yMDQ3NC1jYXRlZ29yeS1kZXNjcmlwdGlvbi1kaXNwbGF5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[brainforge](/forum/user/423-brainforge "View brainforge's Profile")**
- [![brainforge's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar423.jpg)](/forum/user/423-brainforge "View brainforge's Profile") Topic Author
- [ Offline](/forum/user/423-brainforge)

Less More

- Posts: 298
- Thank you received: 5
-
-
-
- [](https://brainforge.co.uk)
-

15 years 4 months ago [\#20509](#20509) by [brainforge](/forum/user/423-brainforge "View brainforge's Profile")  Replied by *[brainforge](/forum/user/423-brainforge "View brainforge's Profile")* on topic *[Re: Category Description Display](/forum/3-bug-report/20474-category-description-display#20509 "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: Would it be better if the code in category/tmpl/listing.php used a  instead? Similarly lines 48-50 in product/tmpl/listing.php")*

Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8yMDQ3NC1jYXRlZ29yeS1kZXNjcmlwdGlvbi1kaXNwbGF5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.061 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
