How To Remove Image Link From Carrousel In SP 4 - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

How To Remove Image Link From Carrousel In SP 4

Miguel

Miguel

SP Page Builder 3 years ago

Hi there! I have a carrousel in page builder. I don't have set up the image link, but if you click over the image, the page is refreshed. How can I remove this behaviour?

Please check in https://mikmac.ar/airedeproa/ (the carrousel at the bottom page) Thank you!

0
8 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #79693

Hola,

it's special addon, and if you don't want to touch its php/html code I suggest other method, custom CSS

.sppb-carousel-extended-item a, 
.sppb-carousel-extended-item a:hover,
.sppb-carousel-extended-item a:focus {
 cursor: default !important;
    pointer-events: none !important;
    cursor: not-allowed;}
1
Miguel
Miguel
Accepted Answer
3 years ago #79729

Thanks Paul! Works fine!

0
R
Rakesh
Accepted Answer
2 years ago #100973

Thanks, needed this too.

Would be good to have the href disabled when URL field is empty.

0
M
Mia
Accepted Answer
2 years ago #120663

Hello! The code works perfectly fine on desktop version. How can I disable the link on mobile devices?

Thanks!

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #120677

CSS should work for all, but maybe share URL

0
M
Mia
Accepted Answer
2 years ago #120682

Ok, please find it attached.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #120694

Indeed, you have to add extra line between { } code that I shared before (months ago):

touch-action: none;

0
M
Mia
Accepted Answer
2 years ago #120891

Hello Paul, thanks! But unfortunately it doesn't work on my side yet. It sould be like this, right?

.sppb-carousel-extended-item a, .sppb-carousel-extended-item a:hover, .sppb-carousel-extended-item a:focus { cursor: default !important; pointer-events: none !important; cursor: not-allowed; touch-action: none;}

0