- Posts: 79
- Thank you received: 0
Same height for product div
Hi,
You added a script I guess in update 2.6.0 to show products box as the same height. That is good. And it's works fine by default
However I override "listing.php" to show product by categories as columns and not by raw (by default)
I just added row-fluid span4 in the div to get 3 columns
But I don't have he same height everywhere.
Is there anything I can do to get the function please?
Thanks
Please Log in or Create an account to join the conversation.
See
www.hikashop.com/forum/product-category-...-problem.html#217036
www.hikashop.com/forum/product-category-...ct-image.html#219535
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
I removed it but it's did not really work. Actually it doesn't work on the first click on the shop link with Firefox. I need to click again for a good result. But it's more obvious with chrome I got a really bad result (see attached file)
I remember after 2.5 update got already this problem and I fix it by editing css file with :
But if I keep this css, my box have not the same height???
Moreover I have got a hikashop carousel module on the same page and if i remove data-cons... the carousel is not display...
Please Log in or Create an account to join the conversation.
You can potentially use this css property in order to have the same height for all your elements:
I was not able to reproduce your issue with the missing content in the divs. Please try to clear all the possible caches.
Please Log in or Create an account to join the conversation.
I tried your css code but it impact the first columns only. weird!!
After clearing the browser cache and comment my css
I have a bad result : height of my box is equal to 161px (see image 1)
I reload the same page and bingo the result is right height is equal to 263 (see image 2)
only the first columns have no impact?? and why after reload the page, result is good (however the result is never right with chrome)
I configure my shop with div dimension 1x10
PS : My shop is online so I have to edit back my css with "height: auto !important;"
Please Log in or Create an account to join the conversation.
I am not able to reproduce the issue on my end, every time I load the page the display is correct even on Chrome.
Do you have a cache enabled in your template or in Joomla ?
Please Log in or Create an account to join the conversation.
I used the default listing.php now
I deleted my css to show you the problem. Hope you can see something...
If I disable "category group" it happens on all products!!!
PS: I don't know if it's relative but I have an error my page
Please Log in or Create an account to join the conversation.
It is definitely related yes. If you have a javascript error on the page, the rest of the javascript (including the one to get the same height for the blocks) cannot run. Fix that javascript code (which doesn't exist by default in HikaShop) and that should solve the problem.
Please Log in or Create an account to join the conversation.
PS : For try I deleted all my hikashop override (html and css) and I still have my problem...
Please Log in or Create an account to join the conversation.
But if I keep blank this "option" there is a bug...
Please Log in or Create an account to join the conversation.
There is no bug.
We added in HikaShop 2.6 the "data-consistencyheight" and we will add an option in the next release in order to let users enable/disable it.
After that ; if you removed the "data-consistencyheight" and still have an issue with the height ; it is related to your CSS/JS/template but not to HikaShop.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Where I can find that option? I think I check all, but can't see. In "Configuration" -> "Display"? What is the exact name of that parameter?Jerome wrote: We added in HikaShop 2.6 the "data-consistencyheight" and we will add an option in the next release in order to let users enable/disable it.
Please Log in or Create an account to join the conversation.
Depending your HikaShop version number ; In the menu/module parameters.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.