Developer forum

Forum » CMS - Standard features » Carousel links

Carousel links

Tomas Gomez
Reply

Hi,

In a carousel, we have several paragraphs with background mages (see attached images)

There are options to create buttons with links to other pages, but we would want to avoid the buttons and let the user click anywhere on the image to link to another page.

Is there any configuration to do so? I can only think about modifying templates or create a custom item.

Regards,
Tomas

Carousel_paragraps.png Paragraph_image.png

Replies

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Tomas,

 

I don't think there's a configuration for that, but you can also use some JS instead of custom templates, by getting the button's link and applying an event listener on the carousel element instead.

 

Should have a smaller footprint for customization.

 

Best Regards,

Nuno Aguiar

 

You must be logged in to post in the forum