-
AuthorPosts
-
April 30, 2017 at 10:52 am #1029880
Hello,
On my site, escuta.org, I use a JoomlArt Advanced Custom Module on the home page. I’d like to include an invisible hyperlink on the image presented by the module so that the user can open and read the "about" page (http://escuta.org/en/about.html).
Please, how can I do this?
If I decide to include a more complex image with photos of various projects, for example, is it possible to include "hotspot" links (i remember using these many years ago with Dreamweaver)? This would be a great thing.
Thanks
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
May 1, 2017 at 4:05 am #1029964Hi
Can u share the Module type On which you want to add a hyperlink on the image?
So that i can check your request.Regards
May 1, 2017 at 8:27 am #1030005Thanks a lot. The module type is "Slideshow" and the style is "style-owl".
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
May 2, 2017 at 2:01 am #1030152Hi
open templatesja_events_iiacmslideshowtmpl/style-owl.php file
Find<img src="<?php echo $helper->get('data.image', $i); ?>" class="slider-img" alt="<?php echo $helper->get('data.title', $i) ?>">
Replace it with
<a href="<?php echo $helper->get('data.slideshow-link', $i); ?>" <img src="<?php echo $helper->get('data.image', $i); ?>" class="slider-img" alt="<?php echo $helper->get('data.title', $i) ?>"> </a>
Now it use the button link on the image.
Regards
May 2, 2017 at 10:04 am #1030254Thanks Pankaj.I think there is a missing ">" at the end of the first line of your replacement, but all the same, couldn’t get this to work, even when I hard coded a link to google.com. Have sent you a PM.
May 2, 2017 at 10:09 am #1030255This reply has been marked as private.May 2, 2017 at 11:41 am #1030278I think perhaps a style is overriding the link.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
May 3, 2017 at 3:23 am #1030545Hi
Open /templates/jaeventsii/local/acm/slideshow/css/themes/blue/style.css
Find and remove below code.acm-slideshow .owl-carousel .item:before { background: rgba(0, 0, 0, 0.0); content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 2; }
Regards
May 3, 2017 at 9:05 am #1030692Thanks a lot Pankaj. Got it to work, but additionally needed to change the value of position in the following:
.acm-slideshow .owl-carousel .item .slider-content {
/ position: absolute;/
position: unset;
z-index: 2;
color: #ffffff;
padding: 0 24px;
text-align: left;
top: 0;
right: 0;
left: 0;
height: 100%;
display: block;
}All the best!
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
May 3, 2017 at 10:24 am #1030733Yes the text is over the image. If u want text also behave same. Some more changes in z index.
Regards -
AuthorPosts
This topic contains 9 replies, has 2 voices, and was last updated by Pankaj Sharma 7 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum