• 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

Border around Featured Images in Agent Press

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 › Border around Featured Images in Agent Press

This topic is: not resolved

Tagged: border around featured images agentpress

  • This topic has 9 replies, 2 voices, and was last updated 12 years, 2 months ago by sheilasteer.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • April 12, 2013 at 5:08 am #34947
    sheilasteer
    Member

    Anyone know how I can change the light grey border around the featured images and the community images in agentpress to be a different width and color?

    April 12, 2013 at 12:55 pm #35051
    Brad Dalton
    Participant

    Link to your site please so we can inspect the element using Firebug and change the color in real time on your site to test that it works before handing you the code.


    Tutorials for StudioPress Themes.

    April 12, 2013 at 1:07 pm #35054
    sheilasteer
    Member

    Thanks but I figured it out:

    communities a img,
    .featured-bottom a img,
    .listing-wrap a img {
    border: 1px solid #273549;               /*** changed from ddd to 273549 THIS PUTS BOX AROUND FEATURED LISTINGS***/
    margin: 0 0 5px;                                                                        /*** AND COMMUNITY PICTURES in color 273549!!! ***/
    padding: 4px;

    April 12, 2013 at 1:08 pm #35055
    sheilasteer
    Member

    sorry that didn't print clearly

    /*** changed border from ddd to 273549 THIS PUTS BOX AROUND FEATURED LISTINGS***/

    /*** AND COMMUNITY PICTURES !!! ***/

    communities a img,
    .featured-bottom a img,
    .listing-wrap a img {
    border: 1px solid #273549;
    margin: 0 0 5px;
    padding: 4px;

    April 12, 2013 at 4:09 pm #35092
    sheilasteer
    Member

    Here's the website - http://www.phyllisatkinsberryhomes.com

    I was able to get the border around the featured listings but it is cut off on the right for the communities and the name is now not centered under the community picture since I switched the width and added the dark border......

    Would love help - Thanks!!

     

    April 12, 2013 at 4:11 pm #35094
    sheilasteer
    Member

    Here's the website - http://www.phyllisatkinsberryhomes.com

    I was able to get the border around the featured listings but it is cut off on the right for the communities and the name is now not centered under the community picture since I switched the width and added the dark border......

    Would love help - Thanks!!

    I'm also having trouble centering the links in the welcome widget....

     

     

    April 12, 2013 at 7:02 pm #35118
    Brad Dalton
    Participant
    .communities a img, .featured-bottom a img, .listing-wrap a img {
        border: 1px solid #273549;
        margin: 0 0 5px;
        padding: 4px;
    }
    

    Line 1442 Remove margin 40px

    You'll then need to use Firebug and centre the widgets.


    Tutorials for StudioPress Themes.

    April 13, 2013 at 12:36 pm #35235
    sheilasteer
    Member

    Thanks - that worked - I have never used firebug but just installed it and I'm not quite sure how to center communities -

    I see the layout and when I change the padding in this to 25px 25px 25px

    it moves the border out to the edge to make room for the 25px left and right instead of centering what's inside the border.

    .communities {

        border: 3px solid #273549;
        clear: both;
        margin: 10px auto 25px;
        overflow: hidden;
        padding: 25px 0 15px;
        text-align: center;
        width: 1010px;

    I also somehow lost the price on the featured listings even though I didn't change that code for the listing price.

    Any help would be greatly appreciated! I realize I have to get a lot better at using firebug.
    Thanks!!!!

     

    April 14, 2013 at 8:20 am #35388
    sheilasteer
    Member

    Fixed the price on featured listings using firebug - accidentally left an extra / making a comment!

    Still struggling to figure out how to center communities and featured listings -

    April 15, 2013 at 6:39 pm #35674
    sheilasteer
    Member

    If I increase the padding in .communities for the left side it will center the communities  - the problem is it also moves over the border I have around the community section - which I don't want -

    is there a way to have  a border and tell it to be in an exact position - absolute?

     

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 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