ItemOverlay with main (over-layed) image link

1 reply · opened Sep 7, 2023

JjulzorlSep 7, 2023

Hello, is it possible to do item overlay and keep link to work when clicked outside of overlay icons?

e.g.,


                                    [
![attachment](~/ProductData/ProductImages/thumbs/vertical270/@product.Image)
](/details/@Model.ProductType.UrlFriendlyName/@product.UrlFriendlyName/@product.AltProductId)
                                    
                                        
                                            [](~/ProductData/ProductImages/@product.Image)
                                            [ The colour has been added!" 
                                               onclick="addSample('@product.Id', '@product.Name', '@product.Image', @product.ProductTypeId); SEMICOLON.Modules.notifications(this); return false;"
                                               data-bs-toggle="tooltip" data-bs-placement="top" title="Add to Order Sample">](#)
                                            [](/details/@Model.ProductType.UrlFriendlyName/@product.UrlFriendlyName/@product.AltProductId)
                                        
                                    
                                

Thanks
Julia

SSemicolon WebSTAFFSep 7, 2023

Hello,

You can consider adding a Stretched Link inside the .bg-overlay-content DIV. Example:
[ch_pre]Full Link[/ch_pre]

More Documentations: https://getbootstrap.com/docs/5.3/helpers/stretched-link/ .

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard