hover_x_img_title layout

  • Posts: 202
  • Thank you received: 13
3 years 1 week ago #339871

-- HikaShop version -- : 4.5.0
-- Joomla version -- : 4.1.0
-- PHP version -- : 7.4
-- Browser(s) name and version -- : Chrome

Hi.
Is there any way that can shhhow only 2 first images of a product in hover_x_img_title layout ?

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

  • Posts: 4816
  • Thank you received: 654
  • MODERATOR
3 years 1 week ago #339873

Hello,

Yes, but for this you're going to have to do something that we don't normally recommend, but here there is no alternative.
Follow me step by step :
1. Go to your CSS folder (YourWebsite\media\com_hikashop\css)
2. Open the hikashop.css file
3. And go around the line 790, and comment (/* --- */) the required part like on my screenshot (for display only 2 first images)



Hope this will fit your needs.
Regards

Last edit: 3 years 1 week ago by Philip.

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

  • Posts: 202
  • Thank you received: 13
3 years 1 week ago #339882

It seems you've decided to destroy y website's SEO !!
I dont meant to hide the mages!
what if a product has 20 images ?!

I fixed this by editing php file by the way

thank you

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

  • Posts: 4816
  • Thank you received: 654
  • MODERATOR
3 years 1 week ago #339885

Hello,

"It seems you've decided to destroy y website's SEO !!
I dont meant to hide the mages!
what if a product has 20 images ?!"

I don't understand your point, how comment some css part (that only manage the hover_x_img_title view) can lead to break something in your website or SEO, in the worst case if you mistakenly comment out just too many css commands, it will only cause display problems.

Regards

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

Time to create page: 0.057 seconds
Powered by Kunena Forum