Dear Support-Team,
Simple Portfolio - How to implement a "direct link" based on the whole thumbnail instead of the "view"-button?
https://imgur.com/a/NmS7Oz1
Thanks for your support!
Best,
Reinhard
Dear Support-Team,
Simple Portfolio - How to implement a "direct link" based on the whole thumbnail instead of the "view"-button?
https://imgur.com/a/NmS7Oz1
Thanks for your support!
Best,
Reinhard
Hi.
Try this css
.sp-simpleportfolio-btns {
position: absolute;
inset: 0;
}
.sp-simpleportfolio-btns .btn-zoom {
display: none !important;
}
.sp-simpleportfolio-btns .btn-view {
position: absolute;
inset: 0;
border: none !important;
border-radius: 0 !important;
font-size: 0 !important;
background-color: transparent !important;
transform: none !important;
} Hi Reinhard,
It requests php customization to move link inside, and it's beyond included support, according to our support policy.
Using custom CSS you can, for example, hide those buttons.
For example "zoom" hide
.sp-simpleportfolio-btns a.btn-zoom {
display: none;
visibility: hidden;
}
or ... increase size of view button.
Hi Pavel,
Thanks, great job :-)
Best,
Reinhard
You are wellcome :)
Big Thanks Pavel, of course as always.
indeed your method works, but it's not accessibility friendly - it's good to know that in case of.... audit.