• 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

Post Image formatting

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 › Post Image formatting

This topic is: resolved
  • This topic has 2 replies, 2 voices, and was last updated 6 years ago by manavecplan.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 2, 2016 at 2:03 am #186730
    manavecplan
    Member

    Hi,

    I want to add a small border to the bottom of all non-featured images on a post.

    You can see what the post images currently look like here: http://avinashdsouza.me/?p=251&preview=true

    This is what it currently looks like: http://imgur.com/01ULIHn
    This is what I want it to look like: http://imgur.com/2QK6FYy

    Tried using the following code but doesn't seem to work...

    .wp-caption {
    	border-bottom-color: red;
    }
    
    .wp-caption img {
    	max-width: 100%;
    	height: auto;
    	border-bottom-color: red;
    }
    
    

    I've been struggling with this but been unable to come much closer to what I'm looking for...

    http://avinashdsouza.me/?p=251&preview=true
    June 2, 2016 at 7:12 am #186747
    Christoph
    Member

    Hi,

    previews to posts/pages can only be seen by people that are logged in with the proper permissions on your WordPress website.

    Why are you trying to use wp-caption?
    The caption is the text underneath the image.

    Does
    img {
    border-bottom: 10px solid red;
    }

    work?


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    June 3, 2016 at 4:11 am #186833
    manavecplan
    Member

    Hey Christoph,

    Thank you ever so much!! That worked just perfectly...looks absolutely beautiful! 🙂

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Post Image formatting’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2022 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