Make image_overlay addon link images - Forum | JoomShaper
Staff replied SP Page Builder

Make image_overlay addon link images

Asked by Peter Dowse 5 years ago Last activity 5 years ago

3 replies

Ofi Khan Staff

Hello Peter Dowse

Sorry, this feature does not exist. You can customize the addon by yourself.

Best regards

Peter Dowse Asked this

Yes, I realise this. That's what I was hoping to get assistance with.

I figure the code on line 92 of mytemplate/sppagebuilder/addons/image_overly/site.php $output .= '<a href="'.$title_link.'"'; needs to be moved or added somewhere else, but I keep getting a syntax error.

Any assistance would be greatly appreciated.

Ofi Khan Staff

Sorry, we do not provide customization support. Please get some expert help. I am just giving you hints. You have correctly identified the code place. You need to place the anchor <a> tag before the <img> tag, so that it covers the whole image, not just the title.

The process will be the following:

  1. Go to components/com_sppagebuilder/addons and copy image_overlay folder.
  2. Paste it to templates/shaper_helixultimate/html/sppagebuilder/addons/image_overlay.
  3. If there is no sppagebuilder folder, just create it with the same name.
  4. Then edit site.php there.
Log in to reply.