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

#   Setting all product containers to equal heights?

##

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

Less More

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

13 years 3 months ago [\#117949](#117949) by [ximbo](/forum/user/25614-ximbo "View ximbo's Profile")  *[Setting all product containers to equal heights?](/forum/4-how-to/860832-setting-all-product-containers-to-equal-heights#117949 "-- url of the page with the problem -- :   audleymotors.smsidat.com/accessories/product/listing  -- HikaShop version -- : 2.2 -- Joomla version -- : 3.1.5 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Chrome 28  Hi,  I'm trying to figure out how to ensure each container in the row is of equal height on the product listing page - so every container should automatically resize to the size of the largest container in the row. I've played around with display:table and display:table-row but having no luck. Is this something where jquery is required? Or is there a simpler solution in the hikashop settings?  I've linked to the page so you can see that certain containers are larger since there is more content in them, but I want the others to resize to the size of the largest one.  Any help appreciated, thanks.")* was created by *[ximbo](/forum/user/25614-ximbo "View ximbo's Profile")*

-- url of the page with the problem -- : [ audleymotors.smsidat.com/accessories/product/listing](http://audleymotors.smsidat.com/accessories/product/listing)
-- HikaShop version -- : 2.2
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.3
-- Browser(s) name and version -- : Chrome 28

Hi,

I'm trying to figure out how to ensure each container in the row is of equal height on the product listing page - so every container should automatically resize to the size of the largest container in the row. I've played around with display:table and display:table-row but having no luck. Is this something where jquery is required? Or is there a simpler solution in the hikashop settings?

I've linked to the page so you can see that certain containers are larger since there is more content in them, but I want the others to resize to the size of the largest one.

Any help appreciated, thanks.

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 3 months ago [\#117995](#117995) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Setting all product containers to equal heights?](/forum/4-how-to/860832-setting-all-product-containers-to-equal-heights#117995 "-- url of the page with the problem -- :   audleymotors.smsidat.com/accessories/product/listing  -- HikaShop version -- : 2.2 -- Joomla version -- : 3.1.5 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Chrome 28  Hi,  I'm trying to figure out how to ensure each container in the row is of equal height on the product listing page - so every container should automatically resize to the size of the largest container in the row. I've played around with display:table and display:table-row but having no luck. Is this something where jquery is required? Or is there a simpler solution in the hikashop settings?  I've linked to the page so you can see that certain containers are larger since there is more content in them, but I want the others to resize to the size of the largest one.  Any help appreciated, thanks.")*

Hi,

I think that you can do it with some [ CSS ](http://www.hikashop.com/support/19-documentation/hikashop/installation-configuration/84-css-styling.html)customization like : Code:

.hikashop_subcontainer.thumbnail { height: 325px; }

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 3 months ago [\#117996](#117996) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Setting all product containers to equal heights?](/forum/4-how-to/860832-setting-all-product-containers-to-equal-heights#117996 "-- url of the page with the problem -- :   audleymotors.smsidat.com/accessories/product/listing  -- HikaShop version -- : 2.2 -- Joomla version -- : 3.1.5 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Chrome 28  Hi,  I'm trying to figure out how to ensure each container in the row is of equal height on the product listing page - so every container should automatically resize to the size of the largest container in the row. I've played around with display:table and display:table-row but having no luck. Is this something where jquery is required? Or is there a simpler solution in the hikashop settings?  I've linked to the page so you can see that certain containers are larger since there is more content in them, but I want the others to resize to the size of the largest one.  Any help appreciated, thanks.")*

Hi,

You can solve that in part with some css.
Add the following properties in the css file: Code:

.hikashop_container .hikashop_product_name, .hikashop_container .hikashop_product_desc{ min-height: 40px !important; }

[ www.hikashop.com/support/documentation/1...ize-the-display.html](http://www.hikashop.com/support/documentation/153-customize-the-display.html)

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

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

Less More

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

13 years 3 months ago [\#118287](#118287) by [ximbo](/forum/user/25614-ximbo "View ximbo's Profile")  Replied by *[ximbo](/forum/user/25614-ximbo "View ximbo's Profile")* on topic *[Setting all product containers to equal heights?](/forum/4-how-to/860832-setting-all-product-containers-to-equal-heights#118287 "-- url of the page with the problem -- :   audleymotors.smsidat.com/accessories/product/listing  -- HikaShop version -- : 2.2 -- Joomla version -- : 3.1.5 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Chrome 28  Hi,  I'm trying to figure out how to ensure each container in the row is of equal height on the product listing page - so every container should automatically resize to the size of the largest container in the row. I've played around with display:table and display:table-row but having no luck. Is this something where jquery is required? Or is there a simpler solution in the hikashop settings?  I've linked to the page so you can see that certain containers are larger since there is more content in them, but I want the others to resize to the size of the largest one.  Any help appreciated, thanks.")*

Mohamed your solution does work, however I don't want them to be a fixed height, just the height of the tallest one.. I guess I'd need javascript for this, any thoughts?

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 3 months ago [\#118316](#118316) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Setting all product containers to equal heights?](/forum/4-how-to/860832-setting-all-product-containers-to-equal-heights#118316 "-- url of the page with the problem -- :   audleymotors.smsidat.com/accessories/product/listing  -- HikaShop version -- : 2.2 -- Joomla version -- : 3.1.5 -- PHP version -- : 5.3 -- Browser(s) name and version -- : Chrome 28  Hi,  I'm trying to figure out how to ensure each container in the row is of equal height on the product listing page - so every container should automatically resize to the size of the largest container in the row. I've played around with display:table and display:table-row but having no luck. Is this something where jquery is required? Or is there a simpler solution in the hikashop settings?  I've linked to the page so you can see that certain containers are larger since there is more content in them, but I want the others to resize to the size of the largest one.  Any help appreciated, thanks.")*

Hi,

Yes you can use a script in order to get the height of all elements (" .hikashop_container ") in the page, get the highest and so, change the height of all other elements.
If you have jQuery in your template it will be easier for scripting it because you can make a "each" on a HTML selector (so all ".hikashop_container"').

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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