• Heya guys.

    I’d like to know where I can find the code to enhance my posted images. This is what I want:

    Modify the code to put a background image on all posted images, a sort of shadow if you will. I tried looking in post-template.php, but didn’t find what I wanted to find. And I also don’t like using plugins, rather do it myself.

    Greets!

Viewing 2 replies - 1 through 2 (of 2 total)
  • you can edit the css however you’d like….

    find the basic image handling css tags (img) and add what you’d like

    you could use a small semi-transparent image (like 1x1px) as a background image in the css and repeat it I would think

    possibly adding some padding to the images so the background image would repeat outside the image a few pixels, looking like a shadow

    you just have to get the css selectors right, for instance if you only want to affect images in posts your selector may be .post img (thats what mine would be)

    Thread Starter Everlast00

    (@everlast00)

    Hehe, yeah, I’ve been there too ??
    But that’s restricting me to much too few options. My shadow is kinda non-basic. Check https://donm.nl -> There you can see the shadow for the thumbnails, but I also want these shadows in the posts.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to get post images to add own style’ is closed to new replies.