WordPress.org

Forums

Portfolio Press
[resolved] [closed] Add Border to Thumbnail Images (6 posts)

  1. MyHairWebsite
    Member
    Posted 1 year ago #

    Is it possible to add a border to the thumbnail images on the front page? I have tried using CSS on each of the following tags but it did not work:

    #portfolio .portfolio-item img

    #portfolio .thumb

    #portfolio .portfolio-item

  2. MyHairWebsite
    Member
    Posted 1 year ago #

    Both of the tags below worked when I tried them a second time. I must have typed something wrong the first time I tried them.

    #portfolio .portfolio-item img

    #portfolio .thumb

  3. Devin Price
    Member
    Theme Author

    Posted 1 year ago #

    The update coming out today will change this slightly. You'll want to use something like:

    .portfolio-view .entry-content img { border:2px solid #000 }
  4. michelle.crenny
    Member
    Posted 3 months ago #

    I have tried adding a border to the thumbnail quite a few way in the edit css and it still doesn't seem to be working. What am I doing wrong?? My site is http://www.michellecrenny.com. This is what I've tried:

    .portfolio-view #content .hentry {
    border: 6px solid #000000;
    }

    .portfolio-image {
    display: block;
    margin-bottom: 15px;
    border: 6px solid #000000;
    }

    #portfolio .thumb {
    border: 6px solid #000000;
    }

    #portfolio .portfolio-item img {
    border: 6px solid #000000;
    }

    .portfolio-view .entry-content img {
    border: 2px solid #000;
    }

  5. Devin Price
    Member
    Theme Author

    Posted 3 months ago #

    This works for me:

    .portfolio-view .hentry img { border: 10px solid #000; }
  6. Andrew
    Nuh uh moderator
    Posted 3 months ago #

    @michelle.crenny, Please create a new thread https://wordpress.org/support/theme/portfolio-press#postform

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.