AbanteCart Community

Shopping Cart Operations => Support => Template Support => Topic started by: squinn on December 05, 2023, 06:28:20 PM

Title: Remove 'view' on hover on thumbnails
Post by: squinn 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
Title: Re: Remove 'view' on hover on thumbnails
Post by: Basara on December 06, 2023, 03:27:56 AM
Hello.
What is your theme?
Title: Re: Remove 'view' on hover on thumbnails
Post by: squinn on December 10, 2023, 01:07:20 AM
I am using the default template, Thanks Basara
Title: Re: Remove 'view' on hover on thumbnails
Post by: Basara on December 11, 2023, 03:42:38 AM
Hello.
Add CSS
Code: [Select]
.thumbnail .shortlinks a.details {
    display: none;
}
Title: Re: Remove 'view' on hover on thumbnails
Post by: squinn 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
Title: Re: Remove 'view' on hover on thumbnails
Post by: Basara 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
Title: Re: Remove 'view' on hover on thumbnails
Post by: squinn 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. 
Title: Re: Remove 'view' on hover on thumbnails
Post by: squinn 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.
Title: Re: Remove 'view' on hover on thumbnails
Post by: Basara 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;}
Title: Re: Remove 'view' on hover on thumbnails
Post by: squinn on December 16, 2023, 02:35:58 AM
Many thanks  - Have a great Xmas.