Add a link to Selfie Home Block
URL to the page in question:
http://monaco.josephmedawar.com
-
Hey Bill, how might I get the home blocks to link to an external page when you click on either the whole block or a section of the block?
Hi Joseph,
You can do that. What you’ll want to do is insert a link like this into the content area of your home block. Use the text side of the editor instead of the visual one so that WordPress doesn’t filter out the HTML. Here’s the link:
<a href="http://yourlink.com" target="_blank" class="block-link">Link</a>
Just replace the http://yourlink.com with the URL you’d like to link to. Change “Link” to the name of the site or something about it. After that update your home block.
Then to make it the full size of the home block and hide the text, do this:
- Go to your theme options page and choose the Advanced tab.
- Scroll down to the Custom CSS box and add this:
a.block-link {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
text-indent: -9999px;
}
- Update your settings.
Hope that helps out,
Bill
- The topic ‘Add a link to Selfie Home Block’ is closed to new replies.