Need help? Check out our Support site, then


Borders around images

  1. 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.

  2. 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.

  3. 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;
    }
  4. Thank you!! Problem solved!!

  5. You are welcome.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags