• Hi

    I’m wanting to remove the white, shadowed borders around the thumbnail images in my gallery, but I can’t for the life of me work out how to do it?

    Could anybody help?

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • It’s hard because WP inserts gallery’s style in the page, you have to use a selector that has more weight.

    Try this in child theme’s style.css

    #primary .gallery-icon img {box-shadow:none;border-color:transparent;}

    Also, there are plugins that move WP gallery style to head, just search for it in plugin section.

    Cleaner Gallery
    http://ww.wp.xz.cn/extend/plugins/cleaner-gallery

    Do you have a link to your site so I can see the coding. You can change it via CSS, but just to confirm which class you would need to edit I would need to see your site

    Thank you @paulwpxp, this worked for me.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Thumbnail gallery borders’ is closed to new replies.