Remove default image borders from homepage only?

  • Snake

    #5630

    Hi,

    I using the 1.8.1 Graphene theme. On the front page I chose to “Show excerpts in front page”. Now I would like to remove the borders from the images, so I put this custom CSS code:

    .entry-content img,
    .child-page img {
    border: 0;
    }

    With this code I removed the default border from the images, but that is not exactly what I want.

    Is it possible to remove the image border only on the front page?

    Thanks!

    Anonymous

    #32365
    .home  .entry-content img, .home  .child-page img {
    border: 0;
    }

    Snake

    #32366

    It works!

    Thank you very much Mr. Prasanna!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Do NOT follow this link or you will be banned from the site!