different module heights, with the same setting, but different Ordering field

  • Posts: 34
  • Thank you received: 2
2 years 2 months ago #347560

-- url of the page with the problem -- : www.classicbikesregis.it/index.php/shop.html
-- HikaShop version -- : 4.7.0
-- Joomla version -- : 4.2.2

hello,
i have inserted two Hika modules on the same line of my template.
one appears higher than the other, but if I change different module heights, with the same setting, but different Ordering field they become equally high!
i tried to change different module heights, with the same setting, but different Ordering field and they always behave differently. at the moment I have published the two modules that give different heights, they are identical, but only the different module heights change, with the same setting, but different Ordering field.
please can you help me?
Thank you

Attachments:

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

  • Posts: 4785
  • Thank you received: 649
  • MODERATOR
2 years 2 months ago #347564

Hello,

Each module have it's own height consistency to have the same height for his subcontainer.
Your solution is to add some css commands in order, follow me step by step :
1. Have a look on this documentation to see how to proceed, here
2. Add a command to define the same height for each module sub container
=> Add this command :

#hikashop_module_136 .hikashop_subcontainer.thumbnail {
    height: 378px;
}
3. As a little bonus, in order to have all your add to cart button vertical align :
=> Use this command :
#hikashop_module_137 span.hikashop_product_name, #hikashop_module_136 span.hikashop_product_name {
    height: 96px;
}

See my screenshot to complete the idea :


Regards

Last edit: 2 years 2 months ago by Philip.
The following user(s) said Thank You: aanconetani@libero.it

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

Time to create page: 0.055 seconds
Powered by Kunena Forum