• 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

Need Help with Scaling a Featured Image

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 › StudioPress Themes › Monochrome Pro › Need Help with Scaling a Featured Image

This topic is: not resolved

Tagged: monochrome pro

  • This topic has 4 replies, 2 voices, and was last updated 10 months ago by AnitaC.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 14, 2024 at 7:57 am #508371
    RavenManiac
    Participant

    For some reason, I can’t get the featured image on this ACF Pro custom post page to scale for mobile devices. This worked fine before I installed ACF Pro and created a custom post type. I tried forcing the image to scale with CSS, but I couldn’t get it to work. I also contacted WPE, but they can’t figure it out either. I’m hoping a CSS/PHP expert can shed some light on this.

    So that you know, this is a StudioPress theme called Monochrome Pro v1.0. Thanks for your help!

    https://staging.dkihomes.com/model/the-adams/
    August 14, 2024 at 9:12 am #508372
    AnitaC
    Keymaster

    Did you use Regenerate thumbnails after you installed ACF Pro? Sometimes regenerating will fix that.


    Need help with customization or troubleshooting? Reach out to me.

    August 14, 2024 at 9:31 am #508373
    AnitaC
    Keymaster

    Try adding this and let me know when it's on the site. Be sure to clear your cache.

    /* Default Styles */
    .backstretch img {
        width: 100%; /* Make sure the image takes up full width */
        height: auto; /* Maintain the aspect ratio */
        object-fit: cover; /* Cover the container */
    }
    
    /* For smaller screens */
    @media only screen and (max-width: 600px) {
        .backstretch img {
            object-fit: contain; /* Ensure the entire image is visible */
            height: auto; /* Adjust the height to auto */
            width: 100%; /* Keep the full width */
        }
    }
    

    Need help with customization or troubleshooting? Reach out to me.

    August 19, 2024 at 3:22 pm #508385
    RavenManiac
    Participant
    This reply has been marked as private.
    August 20, 2024 at 7:04 am #508387
    AnitaC
    Keymaster

    I see your message. I'll need to reach out to SP for that request.


    Need help with customization or troubleshooting? Reach out to me.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

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