Search code examples
sitecorerenderingsitecore-sxa

Sitecore Add Link as Section for Rendering Variant


I have a rendering, which contains an image and text, which I would like to have wrapped in an anchor

So far, adding a Section with "a" as the HTML tag works, but I find, other than adding the href as $(Link), there is little I can do about the target, ID, etc

Are there any other viable options for this?


Solution

  • To be able to use IsLink checkbox you need to define the field to be used as the link target first:

    enter image description here