• 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

infinity pro background images no responsive

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 › Infinity Pro › infinity pro background images no responsive

This topic is: not resolved

Tagged: background image, Infinity Pro

  • This topic has 3 replies, 3 voices, and was last updated 2 years, 1 month ago by James.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • February 6, 2021 at 10:43 pm #502951
    dynamic
    Participant

    Hi All

    Home

    Using Infinity Pro template the 1st background image doesn't scale when reducing the size of the browser window or on mobile.

    The Image has a top and bottom which are lost when the site is opened on a mobile device or you narrow up the page width.

    https://www.buyatree.com.au/wp-content/uploads/2021/02/BAT_Valentine.jpg

    Any suggestions please?

    https://www.buyatree.com.au/
    February 7, 2021 at 9:14 am #502954
    Anita
    Keymaster

    Backstretch images will crop your image. So it's best not to use images that have written content on them. If you do, special treatment needs to be made for those images and will require customization of your theme to accommodate them.


    Love coffee, chocolate and my Bella!

    February 7, 2021 at 2:11 pm #502958
    dynamic
    Participant

    Anita, Thank you, Where would I find information about that customisation you mention?

    February 11, 2021 at 8:05 pm #503016
    James
    Participant

    Hi there

    A bit of a hack and not perfect, but should sort you out quickly.

    Add the following css to the bottom of your style.css or whichever way you use for adding custom css.

    .front-page-1 {
    height: 68.60vw !important;
    max-height: 100vh !important;
    }

    This will help to maintain the aspect ratio of your main image.

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

© 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