Borders around images

  • Author
    Posts
  • #1365762

    nathanwyss
    Member

    Does anyone know how I can put a border around the images on the front page of the Hatch theme? (nathanwyss.com)

    The blog I need help with is nathanwyss.com.

    #1366076

    mrdirby
    Member

    I’m not sure about adding a border to only images on the homepage. But the basic css is pretty simple.

    img { border: 1px solid #ffffff;}

    That would put a white 1 pixel border around all your images.

    #1366094

    Hi, the following will target only the home page images. You can edit the border width and the color as you desire.

    .home img.attachment-home-thumb {
    border: 1px solid #FFFFFF;
    }
    #1366096

    nathanwyss
    Member

    Thank you!! Problem solved!!

    #1366097

    You are welcome.

The topic ‘Borders around images’ is closed to new replies.