Hi,
I’m using the “button” element from ALB and have not set there any link:
… nevertheless, the button is “linked” (to the page/post, where it is used):
What can I do, so that if I do not set any link within the button element of ALB, then the button in fact is not linked?
Thanks.
(my site is not yet live)
Hey Chris,
To add a button element in the Layout Builder without a link, use Set Manually from the drop down and place a “#” in the url field.
Best regards,
Mike
Hi,
Ok, the solution I have found is to add css in the General Styling > Quick CSS field that will disable mouse events on the button. Unfortunately this can not target only one button. But you can limit it to all buttons on a page or post. Use this code in the General Styling > Quick CSS field:
.postid-3243 .avia-button { pointer-events: none !important; }
above targets buttons on post #3243, change this to your post number.
below targets all buttons on a site.
.avia-button { pointer-events: none !important; }
Best regards,
Mike