Problem with category images

  • Posts: 19
  • Thank you received: 1
  • Hikashop Essential
2 months 3 weeks ago #362199

-- HikaShop version -- : 5.10
-- Joomla version -- : 4.4.6
-- PHP version -- : 8.3
-- Browser(s) name and version -- : chrome

Hi, I have a problem with centering the images for categories. For products, there are no issues; the images are centered by default. However, for categories, they are not. I have tried this on at least three Joomla installations with the latest release, including one without any installed templates, only Cassiopea, but the categories are always off-center. How can I resolve this? Thanks.

Attachments:

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

  • Posts: 82653
  • Thank you received: 13318
  • MODERATOR
2 months 3 weeks ago #362202

Hi,

I think that it is probably because the "force size" setting of the HikaShop configuration is turned off. This, or there is some CSS from your template messing with the display there.
We would need a link to this page in order to look at its CSS in order to tell you exactly what to do

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

  • Posts: 19
  • Thank you received: 1
  • Hikashop Essential
2 months 3 weeks ago #362237

yes, try with this credentials


Please delete credentials on this post after use, thanks in advance

Last edit: 2 months 3 weeks ago by nicolas.

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

  • Posts: 82653
  • Thank you received: 13318
  • MODERATOR
2 months 3 weeks ago #362239

Hi,

Add this CSS and it will fix the problem:

img.hikashop_product_listing_image {
    margin: auto;
}
www.hikashop.com/support/documentation/1...ize-the-display.html

The following user(s) said Thank You: cesco1701

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

  • Posts: 19
  • Thank you received: 1
  • Hikashop Essential
2 months 3 weeks ago #362313

super! problem solved :) many thanks

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

Time to create page: 0.077 seconds
Powered by Kunena Forum