The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Portfolio Press
Can't remove the grey border on the thumbnails (3 posts)

  1. catwingz
    Posted 4 years ago #

    This Portfolio Press theme is working out really well for me — except for the dreaded grey borders on the thumbnails and single images. I've been scouring the forum and it seems to be a split between theme and core, but haven't found the files that solve it for me.
    The obvious solution would be #content .wp-caption img, but I can delete the whole style without effect.
    I found a two-year-old post by Esmi offering this:

    It's the default css inserted by the gallery shortcode from wp-includes/media.php.
    #contentwrapper .gallery .gallery-item img {border:none !important;}

    but I haven't been able to find it and suspect it has been relocated.
    Help! Thanks


  2. WPyogi
    Forum Moderator
    Posted 4 years ago #

    If you post a link to your site, someone will be more likely to be able to help you with this.

  3. potentweb
    Posted 4 years ago #

    In your CSS file, find: #content img, img.thumbnail and remove
    border: 1px solid #DDD;

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic