• Hello.

    I want to add a shadow under the very first image in every post on my blog, without plugins.

    How to put an image after image? (I’m unable to do that by css :after psueodoclass because there’s no way to put src like “<?php bloginfo(‘template_directory’); ?>/showcase/1.jpg” in CSS file.)

    I guess I have to select first img in every post in PHP (how?) and then do some magic in functions.php.

    Oh, and I’m thinking of shadow like this one: http://img222.imageshack.us/img222/8004/82662531.png (not box-shadow or anything possible with pure CSS).

    Thanks a lot!

The topic ‘Adding a shadow to an image? :)’ is closed to new replies.