- Posts: 34
- Thank you received: 1
Category / Product listing height, cart problem
10 years 7 months ago #229664
by plengyel
Category / Product listing height, cart problem was created by plengyel
-- 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.
-- 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.
Please Log in or Create an account to join the conversation.
10 years 7 months ago #229667
by plengyel
Replied by plengyel on topic Category / Product listing height, cart problem
Attached I send a new screenshot.
Thank you in advance.
Thank you in advance.
Please Log in or Create an account to join the conversation.
10 years 7 months ago - 10 years 7 months ago #229670
by Philip
Replied by Philip on topic Category / Product listing height, cart problem
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,
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: 10 years 7 months ago by Philip.
Please Log in or Create an account to join the conversation.
10 years 7 months ago #229767
by plengyel
Replied by plengyel on topic Category / Product listing height, cart problem
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.
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.
10 years 7 months ago #229816
by plengyel
Replied by plengyel on topic Category / Product listing height, cart problem
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.
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.196 seconds