image overlay addon - Forum | JoomShaper
Staff replied SP Page Builder

image overlay addon

Asked by Jürgen J. Fischer 1 year ago Last activity 1 year ago

Hi, I use image overlay addons and want the image as a link.
I only can use link for title or content.
How can I do this?

3 replies

Paul Frankowski Senior Staff

Hi Jürgen,

indeed, by default is not possible, it request CSS hacks.

Paul Frankowski Senior Staff

BTW

Contact with JavaScript expert and correct code that you used inside custom.js file.

info_3410_2025.jpg

Paul Frankowski Senior Staff
1 year ago · edited

Not the perfect solution, but it will increase clickable area to 70%.

.overlay-image-title > h3 > a {
  padding-top: 99%;
  outline: 1px solid red;   /* remove me, or change to 0px */
  display: block;
  min-width: 300px;
}

.overlay-image-button-wrap > a {
  outline: 1px solid red;   /* remove me */
  padding-right: 180px;}

yes, you can remove outline - I added only to show you clickable area.

Log in to reply.