Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

How to add a link to a absolutely positioned object with a nested svg?

I'm knew to adding svg images to a site. I want to be able to change the css of the svg so I added it as an object with a link to the svg file. I want to make the svg clickable but I can't because its wrapped inside an object. I've tried a few solutions I found on google such as displaying the a tag inline but not luck.

Anyone got any ideas?

A link to codepen - http://codepen.io/anon/pen/qdRVeG

1 Answer

Here's a Stack Overflow question that is similar to yours with a few good responses, including this article:

Here's an old Treehouse forum question that is also related:

See how you go with those.