I am trying to use the ACF URL field to wrap a card component inside a url, then use the same url inside this component in a button, this is due to style reasons in the CSS.
This is my code:
<a href = ""><div class = "card__image" style = "background-image: url (); ">>
But then, what I get is:
Somehow it works, you can click on the component and it works as expected, but I'm not sure why you are duplicating the link in the footer and I can not wrap my component. Is this behavior expected? Can I do something to avoid it?