- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 30.04.20, 10:05
- Opened by: Chiara Todisco
- Closed by: Fred
- Closed on: 28.05.20, 00:22
- Reason: Closed
- Comment: Glad to help!
Ticket #17604 - Make an image un clickable
What is the command to block the click on an image? Be it Banner or single image
Comments
I don’t know what block you mean. You have to find a block class and add following CSS:
I intend to block the click on the images on this page
https://www.dedecouture.com/it/content/18-pagantis-acquista-a-rate
was created with page builder
Try this:
don’t forget about cache
Does not work. I don’t know if I’m explaining myself well. On the page https://www.dedecouture.com/it/content/18-pagantis-acquista-a-rate I don’t want the images to be clickable.
Attachments:
Schermata 2020-04-30 alle 10....(385.4 KiB)https://take.ms/c9XCU now images are not clickable there
Now the banners are not clickable. But I ask you if I am going to create another CSS page will the banners not be clickable? Or the effect is only for the page in question.
example:
If I don’t want a photo to have an animation I put this nopaddright code in addiction class. So it will only affect that widget. As in the case in the photo.
I was wondering if there was an addiction class command to insert inside the banner widget to prevent it from being clickable. So I can manage the widgets individually.
Attachments:
Schermata 2020-04-30 alle 11....(449.4 KiB)Ok, I see.
As I wrote you before, you can create such class
I don’t understand, I have to insert .YOUR_CLASS to {pointer-events: none} inside the addiction class command in the widget?
change “YOUR_CLASS” to your name, or leave it as is
There is nothing special