Archived topic
Adding link to button
1 reply · Started by CRAIG on August 3, 2021
Hi folks,
Could you help me with adding a no follow link to a button I have created?
The code for the block is as follows:
<div class="gb-container gb-container-4123e9fd gb-headline gb-headline-e9fa1b79 gb-headline-text">
<div class="gb-inside-container">
<h2 class="gb-headline gb-headline-e9fa1b79 gb-headline-text"><span id="Need_a_sample_widget_now">Need a sample widget now?</span></h2>
<p class="gb-headline gb-headline-6c36ba78 gb-headline-text">Get a great price for a range of quality widgets in under a minute</p>
<div class="gb-button-wrapper gb-button-wrapper-203ac754">
<a class="gb-button gb-button-dc9d43a7" href="#"><span class="gb-button-text">Get a fixed price now</span><span class="gb-icon"><svg aria-hidden="true" role="img" height="1em" width="1em" viewBox="0 0 256 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path></svg></span></a>
</div>
</div>
</div>
I am having to add the link manually for reasons I won't go into here, but I am aware that you can easily add links to buttons - I can't do that in this case.
Thanks
Hi Craig,
GB buttons has the nofollowoption:
https://docs.generateblocks.com/article/buttons-overview/#button-options
https://docs.generateblocks.com/wp-content/uploads/2020/12/button-link-options.png
Let me know if it helps :)