• 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 Home Section 1 widget, Float Center

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 Home Section 1 widget, Float Center

This topic is: not resolved

Tagged: center, float, home widget, parallax

  • This topic has 6 replies, 3 voices, and was last updated 9 years, 10 months ago by Gandt.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • June 18, 2015 at 12:41 am #156627
    kaden
    Member

    Is there a way to center or float the text/content in the Home Section 1 widget. So that the text/content always floats in the middle (both vertically & horizontally) of the page and the page doesn't scroll? I'm guessing this could be achieved with padding, but I'm not sure whether to add this code to the html text box or where I would adjust the css.

    Thank you,

    Kaden

    http://www.nordet.us
    June 18, 2015 at 3:34 am #156631
    Brad West
    Member

    I'd do it like this:

    .home-section-1 {
      position: absolute;
      right: 0;
      left: 0;
      top: 0;
      bottom: 0;
    }

    This will keep your homepage from scrolling, but you might need to adjust some padding for mobile.

    June 18, 2015 at 8:01 pm #156729
    kaden
    Member

    Thank you for the code, this also changes the background image too,

    is there a way to only have an effect on the text and not the background image?

    Thanks,

    Kaden

    June 18, 2015 at 8:18 pm #156732
    Brad West
    Member

    How is the background image being changed?

    June 18, 2015 at 8:24 pm #156735
    Brad West
    Member

    This article might be helpful: https://css-tricks.com/perfect-full-page-background-image/

    June 18, 2015 at 8:29 pm #156736
    kaden
    Member

    Thank you Brad!

    The background image moves when I make changes to the padding, as the it seems the widget controls both the text and the background image.

    Kaden

    July 6, 2015 at 5:18 pm #158578
    Gandt
    Member

    Kaden

    You want the text to be static, always, regardless of scroll, for that section?
    You have a white footer at the bottom which is what generates the need to scroll down.

    G

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