• By default, thumbnails inside an image gallery have a gray border. I know I can remove the border from all gallery thumbnails sitewide, but is there any way to remove the border from only a single thumbnail inside a gallery? Can CSS be applied based off the image ID? I have tried a few things to no avail. Any help is appreciated. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Roy Ho

    (@splashingpixelscom)

    Yes so if you have a unique ID, you can target just that image.

    Thread Starter KevinM83

    (@kevinm83)

    Thanks for the response. I have the image ID, but how do I reference it in the CSS? Everything I’m trying isn’t working…

    Is it via #wp-image, like #wp-image-30638?

    Roy Ho

    (@splashingpixelscom)

    If I could see the underlying html, I can better assist you but for IDs, it is usually #id { color:red; } like so…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove Border from Single Thumbnail in Gallery’ is closed to new replies.