• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Executive Pro portfolio photographs

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Executive Pro portfolio photographs

This topic is: not resolved

Tagged: Executive Pro Theme, portfolio

  • This topic has 4 replies, 2 voices, and was last updated 11 years, 5 months ago by robyn.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • December 31, 2013 at 2:42 am #82240
    robyn
    Member

    How do I add a black border around all of my photographs that I use in my portfolio? When I create the galleries, there is no place to assign a border. Here is a page where I feature all the entries of a certain type (commercial projects):
    http://lanphereconstruction.com/lcd/portfolio-type/commercial/
    I would like a thin black border around each photo on this page.
    Then once I'm within a portfolio page, there seems to be a light gray border around them. I'd like this border to be black also but can't figure out where the border is generated:
    http://lanphereconstruction.com/lcd/portfolio/beaverton-honda-showroom/
    I also want the black border on the individual photo page:
    http://lanphereconstruction.com/lcd/portfolio/beaverton-honda-showroom/b_honda_show_5073/
    as well as having that photo full size.

    Any help would be much appreciated!

    http://lanphereconstruction.com/lcd/portfolio-type/commercial/
    December 31, 2013 at 5:19 am #82246
    Brad Dalton
    Participant

    Try something like this:

    .portfolio-featured-image {
    border: 1px solid #000;
    }
    

    And this:

    #gallery-1 img {
        border: 1px solid #000000;
    }
    

    And then this for the attachment page image:

    .attachment img { 
    border: 1px solid #000;
    }
    

    Tutorials for StudioPress Themes.

    December 31, 2013 at 6:33 am #82263
    Brad Dalton
    Participant

    More options http://www.studiopress.community/topic/filled-in-border-around-image-and-caption/#post-82257


    Tutorials for StudioPress Themes.

    December 31, 2013 at 11:39 am #82338
    robyn
    Member

    Thanks so much, Brad! Since I want most of my photos to have a border, your code for "all images" works great. Except there are just a few images that I don't want a border: the logos on this page: http://lanphereconstruction.com/lcd/about/

    How do I overwrite the "all images" code for a few select images?

    Also, I'm still not getting a black border on the the portfolio main entry pages:
    http://lanphereconstruction.com/lcd/portfolio/beaverton-honda-showroom/
    http://lanphereconstruction.com/lcd/portfolio/pacific-oak-dental-office/
    etc.

    Any ideas? Thanks again for your help!

    December 31, 2013 at 11:46 am #82339
    robyn
    Member

    Okay, I figured out how to get rid of the border when I don't want it. Still wondering about how to get a black border on those portfolio pages, though. Thanks!

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble