Align images and text in product listings
- condorazul
-
Topic Author
- Offline
so when i see the display, some images are out of alignment, how can i do to fix that and the images align bottom in the same row even if the description isone two or three lines long?
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
1. Can you give me a link to your website?
2. Show me screenshots of your product listing configuration through "Hikashop->Display->Content menus->'Your listing'"
Please Log in or Create an account to join the conversation.
- condorazul
-
Topic Author
- Offline
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- condorazul
-
Topic Author
- Offline
Please Log in or Create an account to join the conversation.
- condorazul
-
Topic Author
- Offline
Please Log in or Create an account to join the conversation.
Forcing a height seems to fix the problem so try to add this to your front-end css file (System>Configuration>Display).
.hikashop_product_name{
height:60px;
}
Please Log in or Create an account to join the conversation.
- condorazul
-
Topic Author
- Offline
Please Log in or Create an account to join the conversation.
- condorazul
-
Topic Author
- Offline
Please Log in or Create an account to join the conversation.
You just have to take a look at the css with Firebug or another tool.
The css class is different there. You just have to add this css:
.hikashop_category_name{
height:60px;
display: inline-block;
}
Please, try to look by yourself the next time, since it's not a specifically Hikashop related question we cannot help everybody playing with css
Please Log in or Create an account to join the conversation.
- condorazul
-
Topic Author
- Offline
thank you
Please Log in or Create an account to join the conversation.
- condorazul
-
Topic Author
- Offline
Please Log in or Create an account to join the conversation.
Which view are you using to display categories like this?
You have a problem there since the span containing the title is also containing the whole block including the image.
I guess you edited the view so that's why the height property doesn't work.
Please Log in or Create an account to join the conversation.
- condorazul
-
Topic Author
- Offline
Please Log in or Create an account to join the conversation.
Fix this and it should works
Please Log in or Create an account to join the conversation.
- condorazul
-
Topic Author
- Offline
Please Log in or Create an account to join the conversation.
It must be something we fixed on our end since the view is different on our working version
Please Log in or Create an account to join the conversation.
- condorazul
-
Topic Author
- Offline
Please Log in or Create an account to join the conversation.