Image Class not working correclt

  • Posts: 67
  • Thank you received: 1
  • Hikashop Business
9 years 4 months ago #239361

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.5.34
-- Browser(s) name and version -- : Chrome

I have created an override for the category listing (as shown in the URL) I have added the a 'im-circle' class to the category img.

The img-circle class is working, but the image isn't being correctly styled - it puts a slight radius on the sides of the image, rather than a true circle/elipse. Any ideas what I need to do please?

Thanks

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

  • Posts: 84328
  • Thank you received: 13718
  • MODERATOR
9 years 4 months ago #239374

Hi,

It seems to be because you have big white stripes around the images as you have activated the "Force images size" setting and set the "Image scale mode" setting to "keep ratio" and configure thumbnails height/width with too much height for your actual images, so you get big white stripes.

You can see the effect is you change the background color to black: take.ms/hCShm

With a 20px radius you don't even see the round corners because of that: take.ms/g3ogk

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

Time to create page: 0.054 seconds
Powered by Kunena Forum