Product listing - subcontainer size

  • Posts: 35
  • Thank you received: 0
13 years 4 months ago #20239

Hi

First of all thanks for a great extension, and the forum is very helpful!

Still I have a question I cannot solve at this point:

- Product listing subcontainer size
I updated the front-end CSS (in Config-Display) to reduce the image size as follows:
.hikashop_product_image img {width: 160px !important; height: 120px !important;}
But the subcontainer does not adjust to the image size.
I tried updating the subcontainer size, it works fine but then the text is out of the container.
I can't figure out which php file to update and how.

Please have a look at the page
mandalin.o2switch.net/index.php/collections/couleur-et-elegance
user: guest
password: guest

Thanks!
Mathieu

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

  • Posts: 82818
  • Thank you received: 13360
  • MODERATOR
13 years 4 months ago #20250

Hi,

You could do like that:
.hikashop_product_image{height: 120px !important;}

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

  • Posts: 35
  • Thank you received: 0
13 years 4 months ago #20254

Works fine. Thank you Nicolas.
I agree with the numerous comments about your great support.

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

  • Posts: 122
  • Thank you received: 3
  • Hikashop Business
11 years 11 months ago #81214

Very good, that works perfect, 1. but now is the sice of the category's also in the same height!

Many things are already changed but i can't find this. look at [url=http://]http://pro.mariusklabbers.nl/index.php/product-categorie[/url]

(I am constructing a product order site with Hikashop businesss. Its a demo before the real site go's online)

2. In the subcontainer i miss very much the "Read on" button. Its is "ON" in the configuration.

3. The description in the subcontainer may to the top, how can i do that? http://pro.mariusklabbers.nl/index.php/product-categorie/category/27-trial

thanks and by, by

Marius

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

  • Posts: 82818
  • Thank you received: 13360
  • MODERATOR
11 years 11 months ago #81433

Hi,

This is a really old thread. Since then, you can set the height/width of the thumbnails directly in the options of the listings and thus easily have different sizes for categories and products. No need to have that CSS anymore.

2. There is no read more button. You can just click on the product name or the image.
If you want to add one, you can edit the file "listing_img_desc" of the view "product" via the menu Display->Views and add a read more link easily like that:
<a href="<?php echo $link; ?>">read more</a>

3. That comes from the CSS on your website.
Try to add that CSS to fix that :
.hikashop_product_item_right_part{
margin-top: -49px;
}

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

  • Posts: 122
  • Thank you received: 3
  • Hikashop Business
11 years 11 months ago #81729

Hi nicolas, thank you for answer,

1. Thats familiar with me and i use that. With the readon line i stop the text.

2. I try it, but not working now. i will try later on.

3. yes that is where the CSS must do its work.I am busy with .hikashop_product_item_right_part{
and .hikashop_product_item_left_part{
All things can be moved accept the white space abobe the hikashop_product_name
see: pro.mariusklabbers.nl/index.php/product-...ie/category/27-trial

greeting Marius

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

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #81818

Hi,

3. Can you try that:
.hikashop_subcontainer td{ vertical-align: top; } .hikashop_product_item_right_part { float: left; margin-left: 10px; margin-right: 10px; margin-top: -32px; }[code]
.hikashop_subcontainer td{
vertical-align: top;
}
.hikashop_product_item_right_part {
float: left;
margin-left: 10px;
margin-right: 10px;
margin-top: -32px;
}

The following user(s) said Thank You: mariussport

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

  • Posts: 122
  • Thank you received: 3
  • Hikashop Business
11 years 10 months ago #83126

Thaks that's perfect!! I saw your reaction already last week. Now it's very nice.

greeting and a nice Christmas Holiday

Marius

The following user(s) said Thank You: Xavier

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

Time to create page: 0.083 seconds
Powered by Kunena Forum