Problem whit product listing layout

  • Posts: 19
  • Thank you received: 0
11 years 8 months ago #129805

-- url of the page with the problem -- : proteinasbarcelona.es
-- HikaShop version -- : 2.2.2. hikshop busines
-- Joomla version -- :3.0
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : crhome
-- Error-message(debug-mod must be tuned on) -- : Error_messageç

hello good morning
as you can see on the picture, all items have a squares but some of them have mor big or smaller and i dont like it
how i can make all squares have the same size. and alll will see similar and perfect.
thanks

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #129812

Hi,

Using some CSS code like this will probably do the job :

.hikashop_subcontainer.thumbnail {
height: 200px;
}

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 0
11 years 4 days ago #163008

Hello

We have the same problem but as the templates are adaptative, this cannot be solved by a height or min-height css rule.

Would it be possible to add a dynamic css rule or a js rule to have a min height set depending on the highest block to be sold on the same line ?

Or something similar ?

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 26255
  • Thank you received: 4041
  • MODERATOR
11 years 4 days ago #163013

Hi,

It is difficult to do such thing because we can't say the number of lines that a product name will use.
It depends on the font-size, on the text length, on the width, etc.
So except you use a javascript script which will read the height of each boxes in the page to find the larger, and then apply this height dynamically to all other box elements.. I don't see how it can be possible with PHP because we don't have any knowledge about the final user rendering.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.085 seconds
Powered by Kunena Forum