Re: [css-d] after pseudo-class and link

2014-09-20 Thread Dave Solko
Yes, that's exactly what I'm doing. I was afraid this would be the answer. I was hoping to avoid modifying the php, but I guess I'll have to go that route. Thanks. Dave Solko Pixel Alchemy d...@pixelalchemy.com 513.300.2165 On Sep 18, 2014, at 9:35 AM, css-d-requ...@lists.css-discuss.org wro

Re: [css-d] after pseudo-class and link

2014-09-18 Thread Tom Livingston
On Thu, Sep 18, 2014 at 9:49 AM, Philippe Wittenbergh wrote: > > Le 18 sept. 2014 à 22:28, Tom Livingston a écrit : > >> Can you add the image as base64 in the content: "": rule? > > How would that help in making the image a link? > > I guess I was adding this to my comment of adding an around

Re: [css-d] after pseudo-class and link

2014-09-18 Thread Philippe Wittenbergh
Le 18 sept. 2014 à 22:28, Tom Livingston a écrit : > Can you add the image as base64 in the content: "": rule? How would that help in making the image a link? As far as I understand, the OP has this markup: foo bar baz and more text And want to add an image which is at the same time a link (li

Re: [css-d] after pseudo-class and link

2014-09-18 Thread Tom Livingston
On Thu, Sep 18, 2014 at 9:28 AM, Tom Livingston wrote: > On Thu, Sep 18, 2014 at 9:17 AM, Chris Rockwell > wrote: >> 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 t

Re: [css-d] after pseudo-class and link

2014-09-18 Thread Tom Livingston
On Thu, Sep 18, 2014 at 9:17 AM, Chris Rockwell wrote: > 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 wo

Re: [css-d] after pseudo-class and link

2014-09-18 Thread Chris Rockwell
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

Re: [css-d] after pseudo-class and link

2014-09-18 Thread Tom Livingston
On Wed, Sep 17, 2014 at 11:32 PM, Dave Solko 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 ad

[css-d] after pseudo-class and link

2014-09-17 Thread Dave Solko
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