• 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 – Horizontal Alignment of Text Widgets

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 › General Discussion › Parallax Pro – Horizontal Alignment of Text Widgets

This topic is: resolved

Tagged: parallax-pro; text widget; horizontal alignment

  • This topic has 6 replies, 3 voices, and was last updated 8 years, 6 months ago by jebblann.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • March 6, 2016 at 10:22 pm #180785
    mspam
    Member

    Instead of the pricing table in Home Section 4, I'd like to feature my services (like the Front Page 3 widget area of the Digital Pro theme). How do I change the alignment in this area so that the text widgets are horizontal and not vertical.

    I added the following code, but the text is still vertical. Does anyone have a solution? Thanks in advance!


    @media
    only screen and (min-width: 1024px) {

    .home-section-4 .widget {
    display: inline-block;
    float: left;
    width: 33%;
    }
    }

    .home-even.home-section-4.widget-area .widget-title {
    font-size: 30px;
    }

    http://copywriting.novumarketing.com/
    March 7, 2016 at 4:24 pm #180832
    ᴅᴀᴠɪᴅ
    Member

    The thing is, you have four text widgets in that section, including the title 'Our Services'. If it is the other three widgets only that you want to have vertical then this is a better way of doing it;

    @media only screen and (min-width: 1024px) {
    
        .home-section-4 .widget + .widget {
            float: left;
            padding: 2%;
            width: 33%;
        }
    }
    
    .home-even.home-section-4.widget-area .widget-title {
        font-size: 30px;
    }

    This makes the alignment look like this http://s16.postimg.org/736appx9h/services.png
    (padding there to stop the text from each widget touching each other)


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    March 7, 2016 at 10:16 pm #180875
    mspam
    Member

    David,

    Thanks so much for your response! The screenshot you attached is exactly how I want the alignment to look. However, when I added the code nothing happened. I do have a multisite, so I edited the theme's CSS at the network level. Then, I network enabled the theme; switched the subdomain to another theme and then switched it back to the Parallax theme. Can you let me know what I'm doing wrong? Thanks again!

    March 7, 2016 at 11:32 pm #180884
    ᴅᴀᴠɪᴅ
    Member

    from looking at your style sheet, you have put it in the wrong place. It is currently inside a media query. At the moment you have...

    @media only screen and (max-width: 1140px) {
        You put the code I gave inside here, before the bracket had closed
    }

    You can't have a media query inside a media query, so instead put it like this..

    @media only screen and (max-width: 1140px) {
         /*Lots of CSS from theme goes here*/
    } /* Make sure this bracket is closed BEFORE you add the other media query */
    
    /* Then go ahead and add the code i originally gave */
    @media only screen and (min-width: 1024px) {
    
        .home-section-4 .widget + .widget {
            float: left;
            padding: 2%;
            width: 33%;
        }
    }
    
    /* This last bit happens outside of all media queries*/
    .home-even.home-section-4.widget-area .widget-title {
        font-size: 30px;
    }

    Hard to explain given the constraints of the forum, but i hope you understand.


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    March 16, 2016 at 8:05 pm #181605
    mspam
    Member

    Sorry for my delayed reply. I've been under the weather. I finally got it. Thanks so much for taking the time to help!

    March 16, 2016 at 8:08 pm #181606
    mspam
    Member

    Sorry for my delayed reply. I've been under the weather. I finally figured it out. Thanks so much for taking the time to help!

    June 8, 2017 at 8:31 pm #207486
    jebblann
    Member

    I am trying to do something similar, but in the second widget area, without a title... I tried adjusting the code above to .home-section-2, but it didn't seem to work. I am wondering if I put it in the wrong section of style.css?

    Any thoughts?

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘General Discussion’ 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