• 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

Styling 2-column home featured widgets in Sample

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 › Styling 2-column home featured widgets in Sample

This topic is: not resolved

Tagged: register widget area, sample

  • This topic has 2 replies, 3 voices, and was last updated 8 years, 10 months ago by Tom.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 14, 2014 at 10:30 am #105121
    StephanieTreasure
    Member

    I am trying to add a background image: http://hairlossclinic.stephanietreasure.com/wp-content/uploads/2014/05/rsz_background.jpg wrapped / behind 2 widgets I added to the home/static page of my website.

    1. The image does not show
    2. The widget area height is much higher than I would like
    3. The right widget is pushing my contact way down

    This is the code I have in the stylesheet:

    /* Homepage Featured Area
    ------------------------------------------------------------ */
     
    .home-featured-left {
        clear: both;
    float: left;
        margin: 0 auto;
        width: 545px;
    margin-bottom: 2rem;
    font-size: 14px;
    	line-height: 20px;
    	overflow: hidden;
    color: #000;
    }
    
    .featured-left .widget {
    	/*padding: 7px;*/
    }
    
    .home-featured-right {
        clear: both;
    float: right;
        margin: 0 auto;
        width: 415px;
    margin-bottom: 2rem;
    font-size: 14px;
    	line-height: 20px;
    	overflow: hidden;
    color: #000;
    }
    
    .featured-right .widget {
    	padding: 25px 0 20px 0;
    }
    
    .home-featured {
    background-attachment: fixed;
    background-color: #333333;
    background-image: url("http://hairlossclinic.stephanietreasure.com/wp-content/uploads/2014/05/rsz_background.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    }
    
    .home-featured .wrap {
    min-height: 372px;
    }

    All I want is a video on the left and Opt-in form with some text on the right. Can someone help?

    http://hairlossclinic.stephanietreasure.com/
    May 14, 2014 at 8:56 pm #105203
    Brad Dalton
    Participant

    I wrote about this last week which should help you http://wpsites.net/web-design/2-column-widgets-inline-for-slider-genesis-e-mail-subscribe-form/


    Tutorials for StudioPress Themes.

    May 14, 2014 at 9:16 pm #105209
    Tom
    Participant

    Remove the clear:both; statement in .home-featured-right to allow the Aweber form to float next to the video. Experiment with also removing float: right; to reposition the form.

    .home-featured-right {
    /* clear: both; */
    float: right;
    margin: 0 auto;
    width: 415px;
    margin-bottom: 2rem;
    font-size: 14px;
    line-height: 20px;
    overflow: hidden;
    color: #000;
    }

    Your background image does not appear because you have attempted to locate it in .home-featured when this element is not part to the page markup (you haven't created it). This would be useful to hold the featured left and right image areas and the image behind them.

    Edit: Yes! Using Brad's suggestion (that I didn't see while I was off in the middle of writing this 🙂 )


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

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

© 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