On Thu, Sep 18, 2014 at 9:28 AM, Tom Livingston <[email protected]> wrote:
> On Thu, Sep 18, 2014 at 9:17 AM, Chris Rockwell <[email protected]> 
> 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 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 <[email protected]> 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
>>> [email protected]
>>> 513.300.2165
>>>
>>>
>>>
>
> Can you add the image as base64 in the content: "": rule?
>
> --

Not rule but declaration...

-- 

Tom Livingston | Senior Front-End Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com
______________________________________________________________________
css-discuss [[email protected]]
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/

Reply via email to