Make Image_overlay Addon Link Images - Question | JoomShaper

Make Image_overlay Addon Link Images

PD

Peter Dowse

SP Page Builder 2 years ago

Hi Guys - how do I make the images in this addon also link?

See here for an example https://www.nichereform.com.au/#sppb-addon-1624407592196

The title is linked - but I would also like the image linked.

Thanks Pete

0
3 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #24901

Hello Peter Dowse

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

Best regards

0
PD
Peter Dowse
Accepted Answer
2 years ago #24903

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.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #24911

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.
0