Product page display - image sizes and css

  • Posts: 218
  • Thank you received: 6
12 years 2 months ago #61370

I cannot work out how to make my product page look good. The main product image is too small, the thumbnails are the same size as the main product image, the characteristics and other information is shown below the images instead of to the right hand side like in the demo.

I have tried changing the Config > Files image size options, i have tried changing the CSS as per the hikashop documentation, and also tried using the default frontend css that comes with hikashop.

I want to show the product code/sku, but it should be shown separately on a different line in a different sized font and not appended to the product title. It is very messy and confusing doing it this way.

Also my facebook like button is not showing in right position.

Please help! as i'm really starting to get frustrated :( :(

This message contains confidential information

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

  • Posts: 13201
  • Thank you received: 2322
12 years 2 months ago #61483

Hi woonydanny,

Do you have a custom template on your website ? Sometimes the templates override the default hikashop css. You should maybe edit your templates properties.

For the Facebook like button, you can edit the id: #LikePluginPagelet to move it where you want.
To change the position of the product code, edit the class:

.hikashop_product_code_main{
	display: block;
	margin-top: 10px;
	font-size: 1.4em;
}
The product code is displayed twice, so you can apply this property too:
	.hika_product_code_show{display: none;}

For the image, can you give me a screenshot of your images configuration ?

Last edit: 12 years 2 months ago by Xavier.

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

  • Posts: 218
  • Thank you received: 6
12 years 2 months ago #61500

my template is Shape5's Vertex 2 template

www.shape5.com/demo/vertex/index.php/

Last edit: 12 years 2 months ago by woonydanny.

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

  • Posts: 218
  • Thank you received: 6
12 years 2 months ago #61518

screenshot of my images config settings. tried putting in different values in thumbnail sizes, product image sizes etc but these didnt really do much.

Attachments:
Last edit: 12 years 2 months ago by woonydanny.

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

  • Posts: 82819
  • Thank you received: 13366
  • MODERATOR
12 years 2 months ago #61777

Hi,

You didn't specify any "product page image width/height" so the main image of the product page takes the "thumbnail width/height".
You should specify these "product page image width/height" options. For example 250 px each.

In your custom CSS you changed the code for the small images to:
div#hikashop_product_left_part img.hikashop_child_image3{
margin : 2px;
height: 25px;
}

instead of:
div#hikashop_product_left_part img.hikashop_child_image{
margin : 2px;
height: 25px;
}

Please correct that.

Also, in your template's CSS there is that CSS:
img {
height:auto !important;
max-width:100% !important;
-webkit-box-sizing: border-box !important; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box !important; /* Firefox, other Gecko */
box-sizing: border-box !important; /* Opera/IE 8+ */
}

The first line height:auto !important; override the CSS of HikaShop for the small images and disable the CSS resize. Please remove it and the small images will be smaller if you also correct the CSS in HikaShop as I said in my previous point.

For the product code, you should add that CSS:
.hika_product_code_show{display:none;}

The rest sounds right on your page. I can see the facebook button on the right, and I can see the characteristic and other inof is on the right too.

The following user(s) said Thank You: woonydanny

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

  • Posts: 218
  • Thank you received: 6
12 years 2 months ago #61788

thanks nicolas!

ok

1. i have corrected the div#hikashop_product_left_part img.hikashop_child_image{
2. i have turned off auto image height in the vertex framework backend settings
3. i have added .hika_product_code_show{display:none;} to my custom2.css in hikashop
4. i have set product page image width/height to be 250px

as you can see, the thumbnails are now tiny, even though i have set it to be 100px. How do i fix?
also the main image is still quite small and not 250px as set, even though the white space around it grew larger when i put in 250px. How do i fix?

yes, the characteristics etc is now on the right because i bought your style pack and tweaked the red style

Last edit: 12 years 2 months ago by woonydanny.

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

  • Posts: 82819
  • Thank you received: 13366
  • MODERATOR
12 years 2 months ago #61789

Hi,

The main image is 180*250. So it meet the options that you set.

The small images are 25px height. That's what you have in the CSS:
div#hikashop_product_left_part img.hikashop_child_image {
margin: 2px;
height: 25px;
}

You need to set the height there to 100px if you want them to be 100px height.

The thumbnails size options of the configuration are for the images on products listings.

The following user(s) said Thank You: woonydanny

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

  • Posts: 218
  • Thank you received: 6
12 years 2 months ago #61846

it was a caching issue i was seeing with regard to the main image on the product pages.

Thank you for taking the time to explain it. It all makes sense now!!

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

  • Posts: 218
  • Thank you received: 6
12 years 2 months ago #61852

one more thing regarding images - some of my images were blurry, so i deleted the media/com_hikashop/uploads/thumbnail folders (there are alot of them eg thumbnail_36x25, thumbnail_36x50 etc) and i think that fixed the blurry issue, but now in the popup of the image the images repeat.

for example i have a product with 4 images, but when i click on the image and see it in the popup there are 65 images to scroll through. it is just the 4 images repeated multiple times.

how do i fix? thanks

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

  • Posts: 33
  • Thank you received: 0
12 years 2 months ago #61928

woonydanny, I'm interested to know how you find Hikashop to work w/ Shape 5 Vertex2 so far and if you could provide a link to your site for me to see? I'm trying to find a template for a client's shop. I've seen in the forum a few people using Vertex, but I know it's not a e-commerce template, so just curious what your experience is.

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

  • Posts: 82819
  • Thank you received: 13366
  • MODERATOR
12 years 2 months ago #62041

@woonydanny That's a known problem for products with characteristics when you use another popup system that the default one of Joomla. Normally, next version of HikaShop (the 1.6.0) should fix that. We plan to release it in a few days.

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

Time to create page: 0.091 seconds
Powered by Kunena Forum