• 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

entry image is not overlayed on the widget in parallax

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 › entry image is not overlayed on the widget in parallax

This topic is: not resolved

Tagged: parallax

  • This topic has 1 reply, 2 voices, and was last updated 8 years, 11 months ago by Susan.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 20, 2014 at 10:43 am #91419
    CHARLIEGOLF
    Member

    Hello, I tried to put some featured pages in section-2 of parallax theme
    like in agency pro I added a new image size

     //* Add new image sizes
     add_image_size( 'home-section-2', 380, 380, TRUE );
    

    I added a class called "home-squared" in markup of section-2 in front-page.php

    genesis_widget_area( 'home-section-2', array(
    'before' => '<div class="home-even home-squared home-section-2 widget-area"><div class="wrap">',
    'after' => '</div></div>',
    ) );

    And I added this css at the end.

     .parallax-home .content .home-squared .widget {
     width: 33.3333%;
     float: left;
     margin-bottom: 0;
     background: #333;
     color: #fff;
     min-height: 380px;
     }
    
     .home-squared .featured-content .entry {
     background: transparent;
     }
    
     .home-squared .featured-content .entry-title a {
     color: #fff;
     }
    
     .home-squared .featured-content img.entry-image {
     left: 0;
     position: absolute;
     }
    
     .home-squared .featured-content img:hover {
     -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=10)";
     filter: alpha(opacity=10);
     -moz-opacity: 0.1;
     -khtml-opacity: 0.1;
     opacity: 0.1;
     }
    
     @media only screen and (max-width: 1180px) {
    
     .parallax-home .content .home-squared .widget {
     min-height: 320px;
     }
     }
    
     @media only screen and (max-width: 1023px) {
    
     .parallax-home .content .home-squared .widget {
     min-height: 380px;
     width: 50%;
     }
    
     }
    
     @media only screen and (max-width: 800px) {
    
     .parallax-home .content .home-squared .widget {
     min-height: 320px;
     }
    
     }
    
     @media only screen and (max-width: 680px) {
    
     .parallax-home .content .home-squared .widget {
     min-height: 380px;
     width: 100%;
     }
    
     }
    
     @media only screen and (max-width: 480px) {
    
     .home-squared .featured-content img.entry-image {
     position: relative;
     }
    
     .home-squared .featured-content img:hover {
     -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
     filter: alpha(opacity=90);
     -moz-opacity: 0.9;
     -khtml-opacity: 0.9;
     opacity: 0.9;
     }
     }

    I choose 2 widgets "featured pages" and I put in the section-2 widget.
    It's everything ok but the overlayed images (img.entry-image) is not
    allined to the top of the widget but at the beginning of the page. I have
    to declare some other css rule but I don't know exactly. Thanks a lot.
    Carletto

    URL
    http://www.vigilfuocoerba.it/immagini/problema.JPGScreenshot of the theme

    Child Theme
    Parallax

    http://www.vigilfuocoerba.it
    April 15, 2014 at 9:08 am #100440
    Susan
    Moderator

    As you posted this a while ago, I hope you got your issue resolved. If not, please let me know, and I will take a look (or escalate if I cannot help).

    If it is resolved, please mark it resolved, so that the thread can be closed.

    Thanks!

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