Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Remove 'view' on hover on thumbnails  (Read 5527 times)

Offline squinn

  • Newbie
  • *
  • Posts: 33
  • Karma: +4/-0
    • View Profile
Remove 'view' on hover on thumbnails
« on: December 05, 2023, 06:28:20 PM »
Hello,
I have searched the forum as I believe I asked this question some years ago, but I have a new install.
How do you remove the 'view' text and bar that comes up when you hover over thumbnails?
From memory there were two spots this needed to be changed - the style.css and one of the bootstrap files (not sure which one). But I can't remember where specifically, sorry.

Thanks in advance

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5937
  • Karma: +284/-2
    • View Profile
Re: Remove 'view' on hover on thumbnails
« Reply #1 on: December 06, 2023, 03:27:56 AM »
Hello.
What is your theme?

Offline squinn

  • Newbie
  • *
  • Posts: 33
  • Karma: +4/-0
    • View Profile
Re: Remove 'view' on hover on thumbnails
« Reply #2 on: December 10, 2023, 01:07:20 AM »
I am using the default template, Thanks Basara

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5937
  • Karma: +284/-2
    • View Profile
Re: Remove 'view' on hover on thumbnails
« Reply #3 on: December 11, 2023, 03:42:38 AM »
Hello.
Add CSS
Code: [Select]
.thumbnail .shortlinks a.details {
    display: none;
}

Offline squinn

  • Newbie
  • *
  • Posts: 33
  • Karma: +4/-0
    • View Profile
Re: Remove 'view' on hover on thumbnails
« Reply #4 on: December 11, 2023, 06:12:21 PM »
Thank you very much - that does remove the text.  There is still a thin, white bar that appears on hover

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5937
  • Karma: +284/-2
    • View Profile
Re: Remove 'view' on hover on thumbnails
« Reply #5 on: December 12, 2023, 02:47:28 AM »
Thank you very much - that does remove the text.  There is still a thin, white bar that appears on hover
This bar will show the product ratings when available

Offline squinn

  • Newbie
  • *
  • Posts: 33
  • Karma: +4/-0
    • View Profile
Re: Remove 'view' on hover on thumbnails
« Reply #6 on: December 12, 2023, 03:02:09 AM »
Oh ok, I understand.  For now I primarily sell one off items, so I have ratings turned off.  If I was able to turn it on and off for certain categories I'd use ratings. 

Offline squinn

  • Newbie
  • *
  • Posts: 33
  • Karma: +4/-0
    • View Profile
Re: Remove 'view' on hover on thumbnails
« Reply #7 on: December 14, 2023, 04:20:02 PM »
I've been looking and experimenting with style options to turn off the white bar that still appears but I haven't found anything that works. Could you please let me know? I want the thumbnails to be clickable, but I don't want anything to appear over the top of the picture.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5937
  • Karma: +284/-2
    • View Profile
Re: Remove 'view' on hover on thumbnails
« Reply #8 on: December 15, 2023, 02:18:34 AM »
Hello.
You can edit your theme .tpl files if you don't want some element to appear. The CSS can be
Code: [Select]
.shortlinks { opacity: 0;}

Offline squinn

  • Newbie
  • *
  • Posts: 33
  • Karma: +4/-0
    • View Profile
Re: Remove 'view' on hover on thumbnails
« Reply #9 on: December 16, 2023, 02:35:58 AM »
Many thanks  - Have a great Xmas.

 

Powered by SMFPacks Social Login Mod