Category / Product listing height, cart problem

  • Posts: 34
  • Thank you received: 1
9 years 7 months ago #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.

Attachments:

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

  • Posts: 34
  • Thank you received: 1
9 years 7 months ago #229667

Attached I send a new screenshot.

Thank you in advance.

Attachments:

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

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
9 years 7 months ago #229670

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: 9 years 7 months ago by Philip.

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

  • Posts: 34
  • Thank you received: 1
9 years 7 months ago #229767

Dear Philip,

Finally I reduced the product name size to 13px and added
echo substr($this->row->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 or Create an account to join the conversation.

  • Posts: 34
  • Thank you received: 1
9 years 7 months ago #229816

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

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

Time to create page: 0.053 seconds
Powered by Kunena Forum