• 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

Parallax Pro need css adjustment for front page section

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 › Parallax Pro need css adjustment for front page section

This topic is: resolved

Tagged: Front Page Widget, parallax-pro

  • This topic has 2 replies, 2 voices, and was last updated 3 years, 7 months ago by addiesgram.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 22, 2019 at 9:37 pm #493121
    addiesgram
    Participant

    I've added css code to scale down the background images on the widgetized front page. Now on some mobile screens (e.g. iPad portrait orientation and iPhone portrait) the text in the Section 1 widget is no longer superimposed over the background image. Landscape orientation seems ok on smaller screens.

    What edits do I need to correct the position of Section 1 widget text so it is correctly superimposed over its background image?

    As always, thanks in advance.

    https://lifehearttech.com
    August 23, 2019 at 4:00 am #493127
    andytc
    Participant

    Looks like you've added -

    background-size: contain;

    in a media query which will overrule the default media query of -

    background-size: auto;

    That's why the images and text aren't behaving as you expect.

    If the images on smaller screens aren't displaying with a focus on an area of the image that looks good , try adjusting the background-position: element for a better look.

    Try the example below after removing your CSS edits -

    @media only screen and (max-width: 1180px) {
    .home-section-1, .home-section-3, .home-section-5 {
     background-position: center;
    }
    
    }
    August 23, 2019 at 2:22 pm #493141
    addiesgram
    Participant

    Thanks for replying andytc, I'll keep playing with images and image placement. It sounds like I can't have the best of both worlds -- ie, images scaled down for smaller screens as I'd had them with my earlier edited css, *and* text centered on (and superimposed over) the background image in section 1.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Parallax Pro need css adjustment for front page section’ 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

© 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