I assume you're adding this as a background-image, is that correct? Something like: div:after { content: " "; background-image: url(''); }
You can't add tags to an :after. If this is something you *need* to link to, I would suggest adding it to the markup proper (wp template) as that is where it belongs. Chris Rockwell On Wed, Sep 17, 2014 at 11:32 PM, Dave Solko <d...@pixelalchemy.com> wrote: > Is it possible to add a link to the :after? > > I'm adding an image via :after, and I want to make it clickable. Is this > possible? > > Using WP, and it's not possible to add the image without hacking the > template. However, it's easy to add it to the css, that's why the > convoluted solution. > > Dave Solko > Pixel Alchemy > d...@pixelalchemy.com > 513.300.2165 > > > > ______________________________________________________________________ > css-discuss [css-d@lists.css-discuss.org] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > List policies -- http://css-discuss.org/policies.html > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/