• 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

Scale background cover image properly

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 › Scale background cover image properly

This topic is: not resolved

Tagged: scaling cover images

  • This topic has 5 replies, 4 voices, and was last updated 7 years, 12 months ago by Kitty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • December 26, 2016 at 10:20 pm #198250
    webharvest
    Participant

    I'm using the wellness pro theme and I was checking out how my site looks on an iPad and a IPhone Plus. The frontpage background images don't scale properly. All you see is a small piece of the image. I figured it was because the images sizes are just too big that are recommended in the theme settings.

    So I added some custom CSS which I thought would replace the background image for the front-page-1 section on the iPad and IPhones. When I use the chrome developer tool it switches to the other image and all looks good but when I go to the actual iPhone and iPad it is like the larger image is still being used.


    @media
    only screen
    and (min-device-width : 414px)
    and (max-device-width : 736px) {
    .front-page-1 {
    background-image: url(http://www.mysite.com/xxxxxx-480.png);
    }
    }

    @media
    only screen
    and (min-device-width : 768px)
    and (max-device-width : 1024px) {
    .front-page-1 {
    background-image: url(http://www.mysite.com/xxxxxx--860.png);
    }
    }

    I don't understand why it would look good on my computer and confirmed using the right image with chrome developer but not with the actual devices.

    Any ideas/suggestions would be greatly appreciated.

    http://www.e3financialcoaching.com
    December 27, 2016 at 7:38 am #198277
    Victor Font
    Moderator

    Different device resolutions perhaps? Try using retina images for Apple devices.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    December 28, 2016 at 11:56 am #198383
    webharvest
    Participant

    Is there a good rule for what the best way is to implement scaleable image for apple devices?

    December 29, 2016 at 10:59 am #198430
    webharvest
    Participant

    I don't fully like the solution I came up with but it appears that the iPad and iPhone don't like the background-attachment: fixed when the background-size is set to cover. I changed the background-attachment: scroll using @media conditions and it sizes the image properly now.

    Don't know why it acts strange with it set to fixed.

    January 17, 2017 at 12:44 pm #199569
    Lisa at OG
    Member

    I had the same problem with the Centric Pro Theme and also the Wellness Pro Theme. Adding the background-attachment: scroll !important worked for me as well. When I got a reply from StudioPress customer service they said the following, "Unfortunately, it's a limitation on iOS, where fixed background image property is ignored on purpose to conserve browser's processing, in effort to ensure performance. But, I'll be happy to pass on this feedback to the development team, so they can review and possibly include some CSS workaround, in next theme's update."

    December 18, 2017 at 2:39 am #214657
    Kitty
    Participant

    ...and that is really appreciated, Lisa! Thank you for sharing!

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