In my project, there are button primary and button secondary components, and I have 3 problems with them.
-
When I change the link on the component instances to another page than one from the main component it works but when I want the button to link to the external link or anchor it always keeps the main component link.
-
I have a project block, which is a link, and inside I have an instance of the secondary button component. Obviously having a link inside the link doesn’t work well so when I try to convert the button secondary link block to div, hopefully only on that instance, it converts all button instances and main components to divs.
-
I think that in my CTA section component where I have a button prim component, I wasn’t able to link the button only for this section (I feel it was because it was a component nested inside the component). The only way to link that button was to link its main comp to the contact page and the section button instance inherited this linking. By coincidence, it wasn’t really a problem as both link to contact but potentially there are section components that need different linking for the button inside.
I unlinked component instances from all of these so it kinda solves the problem, but is there a way to make all of these work while still keeping the component instances?