Archived topic
How to HTML
7 replies · Started by Sanu Kumar on July 23, 2021
How to center text and add hyperlinks in HTML code. I have added here: https://www.masteryblogging.com/blog/ and everything look good. I just want to make it to the center and add links to it (my affiliate link which should be nofollow).
Can I achieve it?
Hi there,
select the GB Container Block, and in the Toolbar set the text alignment to Center.
I am using WordPress in built HTML block and the code is this
<div class="recommended-tool__badge">#1 Web Host for July 2021 - Try Hostinger Today</div>
Yep - and that HTML Block is inside a GB Container Block. If you select the Container Block you can set its text alignment to Center. This should center that element.
Have you figured out?
I'm seeing everything centered:
https://www.screencast.com/t/tdxGmjXj
Yes Leo, I figured it out but can you please tell me how to add a link (nofollow) to it.
Can you open a new topic for the separate question?
If it's directly related to GB then please open a topic in GB's support forum so it might help others as well:
https://wordpress.org/support/plugin/generateblocks/
Thanks!

