• 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

Design tip – Metro image captions

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 › Design tip – Metro image captions

This topic is: not resolved

Tagged: Metro image captions

  • This topic has 2 replies, 3 voices, and was last updated 10 years, 7 months ago by wittycassiehere.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 3, 2013 at 12:08 pm #23925
    paulc
    Participant

    Setting up the Metro theme on a test site, I ran into a problem with image captions. If I used a caption on a large image inserted into a post, the image was not resized and was just inserted at the full image size and cut off as it ran out of the content area. No caption, no problem, it resized as it should.

    Change this:

    img.alignnone  {
    display: inline;
    margin-bottom: 12px;
    margin-bottom: 0.75rem;
    }

    To this:

    img.alignnone,
    .wp-caption.alignnone {
    display: inline;
    margin-bottom: 12px;
    margin-bottom: 0.75rem;
    }

    Problem solved. Then style the captions appropriately, I thought the style was too big and bold, but that's personal choice.

    March 3, 2013 at 2:42 pm #23939
    Anita
    Keymaster

    Thank you for sharing. I had this same problem and would just re-load the image and add the caption that way. But this is much better.


    Love coffee, chocolate and my Bella!

    March 3, 2013 at 7:38 pm #23968
    wittycassiehere
    Member

    Thanks so much! I hadn't run into that problem yet, but I know it would've been frustrating at some point.


    Cassie
    [Witty Title Here]

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

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