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

#   Category / Product listing height, cart problem

##

- **[plengyel](/forum/user/32723-plengyel "View plengyel's Profile")**
- [![plengyel's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32723-plengyel "View plengyel's Profile") Topic Author
- [ Offline](/forum/user/32723-plengyel)

Less More

- Posts: 34
- Thank you received: 1
-
-

10 years 9 months ago [\#229664](#229664) by [plengyel](/forum/user/32723-plengyel "View plengyel's Profile")  *[Category / Product listing height, cart problem](/forum/26-product-category-display/882247-category-product-listing-height-cart-problem#229664 "-- HikaShop version -- : 2.6.1 Business -- Joomla version -- : 3.4.8 -- PHP version -- : 5.3.27 -- Browser(s) name and version -- : Chrome 48.0.2564.109m  Hi,  Could you please help me, how could I set the product and category listing on my main page with same height.  The height of the container is problematic and in connection with the products the cart button is not positioned to the bottom of the container. It depends of the length of the product name.  Thank you for your help in advance.")* was created by *[plengyel](/forum/user/32723-plengyel "View plengyel's Profile")*

-- HikaShop version -- : 2.6.1 Business
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.3.27
-- Browser(s) name and version -- : Chrome 48.0.2564.109m

Hi,

Could you please help me, how could I set the product and category listing on my main page with same height.

The height of the container is problematic and in connection with the products the cart button is not positioned to the bottom of the container. It depends of the length of the product name.

Thank you for your help in advance.

- [ ![product&#95;listing&#95;cart.jpg](/forum/attachment/29482) ](/forum/attachment/29482 "...sting&#95;cart.jpg") [ ](/forum/attachment/29482?download=1 "...sting&#95;cart.jpg")

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

- **[plengyel](/forum/user/32723-plengyel "View plengyel's Profile")**
- [![plengyel's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32723-plengyel "View plengyel's Profile") Topic Author
- [ Offline](/forum/user/32723-plengyel)

Less More

- Posts: 34
- Thank you received: 1
-
-

10 years 9 months ago [\#229667](#229667) by [plengyel](/forum/user/32723-plengyel "View plengyel's Profile")  Replied by *[plengyel](/forum/user/32723-plengyel "View plengyel's Profile")* on topic *[Category / Product listing height, cart problem](/forum/26-product-category-display/882247-category-product-listing-height-cart-problem#229667 "-- HikaShop version -- : 2.6.1 Business -- Joomla version -- : 3.4.8 -- PHP version -- : 5.3.27 -- Browser(s) name and version -- : Chrome 48.0.2564.109m  Hi,  Could you please help me, how could I set the product and category listing on my main page with same height.  The height of the container is problematic and in connection with the products the cart button is not positioned to the bottom of the container. It depends of the length of the product name.  Thank you for your help in advance.")*

Attached I send a new screenshot.

Thank you in advance.

- [ ![product&#95;listing&#95;cart&#95;2016-02-11.jpg](/forum/attachment/29483) ](/forum/attachment/29483 "...2016-02-11.jpg") [ ](/forum/attachment/29483?download=1 "...2016-02-11.jpg")

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

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

10 years 9 months ago -  10 years 9 months ago [\#229670](#229670) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Category / Product listing height, cart problem](/forum/26-product-category-display/882247-category-product-listing-height-cart-problem#229670 "-- HikaShop version -- : 2.6.1 Business -- Joomla version -- : 3.4.8 -- PHP version -- : 5.3.27 -- Browser(s) name and version -- : Chrome 48.0.2564.109m  Hi,  Could you please help me, how could I set the product and category listing on my main page with same height.  The height of the container is problematic and in connection with the products the cart button is not positioned to the bottom of the container. It depends of the length of the product name.  Thank you for your help in advance.")*

Hello,

The trouble come from your product title **size**, and with some Css you have **several** solutions:
- add a **wrap** to short cut too long title.
- Add some **Css** to have **little** font.
- Or else, have **bigger** container **AND** set button position from container (and not just following after your title)

Hope this will help,

Regards,

Last edit: 10 years 9 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

- **[plengyel](/forum/user/32723-plengyel "View plengyel's Profile")**
- [![plengyel's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32723-plengyel "View plengyel's Profile") Topic Author
- [ Offline](/forum/user/32723-plengyel)

Less More

- Posts: 34
- Thank you received: 1
-
-

10 years 9 months ago [\#229767](#229767) by [plengyel](/forum/user/32723-plengyel "View plengyel's Profile")  Replied by *[plengyel](/forum/user/32723-plengyel "View plengyel's Profile")* on topic *[Category / Product listing height, cart problem](/forum/26-product-category-display/882247-category-product-listing-height-cart-problem#229767 "-- HikaShop version -- : 2.6.1 Business -- Joomla version -- : 3.4.8 -- PHP version -- : 5.3.27 -- Browser(s) name and version -- : Chrome 48.0.2564.109m  Hi,  Could you please help me, how could I set the product and category listing on my main page with same height.  The height of the container is problematic and in connection with the products the cart button is not positioned to the bottom of the container. It depends of the length of the product name.  Thank you for your help in advance.")*

Dear Philip,

Finally I reduced the product name size to 13px and added
echo substr($this-&gt;row-&gt;product_name,0,18) . "...";
to product / listing_img_title.php

Could you please help, how I can set add to cart button position from container ?

Thank you in advance.

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

- **[plengyel](/forum/user/32723-plengyel "View plengyel's Profile")**
- [![plengyel's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32723-plengyel "View plengyel's Profile") Topic Author
- [ Offline](/forum/user/32723-plengyel)

Less More

- Posts: 34
- Thank you received: 1
-
-

10 years 9 months ago [\#229816](#229816) by [plengyel](/forum/user/32723-plengyel "View plengyel's Profile")  Replied by *[plengyel](/forum/user/32723-plengyel "View plengyel's Profile")* on topic *[Category / Product listing height, cart problem](/forum/26-product-category-display/882247-category-product-listing-height-cart-problem#229816 "-- HikaShop version -- : 2.6.1 Business -- Joomla version -- : 3.4.8 -- PHP version -- : 5.3.27 -- Browser(s) name and version -- : Chrome 48.0.2564.109m  Hi,  Could you please help me, how could I set the product and category listing on my main page with same height.  The height of the container is problematic and in connection with the products the cart button is not positioned to the bottom of the container. It depends of the length of the product name.  Thank you for your help in advance.")*

Dear Philip,

I decided to use the following CSS. So it is not needed to change the PHP code.

overflow: hidden; white-space: nowrap; text-overflow: ellipsis;

Thank you for your help.

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODIyNDctY2F0ZWdvcnktcHJvZHVjdC1saXN0aW5nLWhlaWdodC1jYXJ0LXByb2JsZW0/dG1wbD1tYXJrZG93bg==) 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.049 seconds

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