• 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 help making the images with overlays responsive for mobile

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 help making the images with overlays responsive for mobile

This topic is: not resolved

Tagged: css, html, media queries, responsive design

  • This topic has 2 replies, 2 voices, and was last updated 11 years, 5 months ago by Krishan.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 22, 2015 at 5:13 am #138249
    Krishan
    Member

    Hi,

    The images are the circles on website http://www.ew3tech.com#sections_2 with overlays. Or go to the website at http://www.ew3tech.com and then click on find out more to go the section containing circles.

    HTML that I used to create the images with overlays in the widget section is as below:

    <div class="big-box">
    <div class="box">
    <img src="http://www.ew3tech.com/wp-content/uploads/2015/01/planning.png" alt="planning">
      <div class="overbox">
        <div class="title"><a href ="http://www.ew3tech.com/services/#planning"> Planning </a></div>
      </div>
    </div>
    
    <div class="box"> <img src="http://www.ew3tech.com/wp-content/uploads/2015/01/design.png" alt="design">
      <div class="overbox">
        <div class="title"> <a href ="http://www.ew3tech.com/services#design">Design</a></div>
      </div>
    </div>
    
    <div class="box"> <img src="http://www.ew3tech.com/wp-content/uploads/2015/01/coding.png" alt="development">
      <div class="overbox">
        <div class="title"><a href ="http://www.ew3tech.com/services/#development"> Development </a></div>
      </div>
    </div>
    
    <div class="box"> <img src="http://www.ew3tech.com/wp-content/uploads/2015/01/launch.png" alt="launch">
      <div class="overbox">
        <div class="title"> <a href ="http://www.ew3tech.com/services/#launch">Launch</a> </div>
      </div>
    </div>
    <div class="clear"></div>
    </div>
    

    Custom CSS that I used to style the custom elements is as below:

    /*four phases of design and development icons*/
    	.big-box{
    		margin:auto;
    		width: 67%;
    		height:auto;
    	}
    	.clear{
    		clear:both;
    	}
    
    	.box{
    		cursor:pointer;
    		height: 170px;
    		width: 170px;
    		float:left;
    		position:relative;
    		overflow:hidden;
    		margin-left: 15px;
    		
    	}
    	.box .overbox a{
    		display: block;
    		background:#323248;
    		position:absolute;
    		top:0;
    		color:#fff;
    		z-index:100;
    		opacity:0;
    		height: 100%;
    		width: 100%;
    		border-radius:50%;
    		padding-top: 60px;
    	}
    .box .overbox a:hover{opacity:0.85;}	
    
    @media only screen and (max-width: 1140px) {
    	.big-box{
    		width:79% !important;
    	}
    }
    
    @media only screen and (max-width: 960px) {
    	.big-box{
    		width:100% !important;
    	}
    }
    
    @media only screen and (max-width: 768px) {
    	.big-box{
    		width:56.5% !important;
    	}
    }
    
    @media only screen and (max-width: 735px) {
    	.big-box{
    		width:61% !important;
    	}
    }
    
    @media only screen and (max-width: 480px) {
    	.big-box{
    		width:100% !important;
    	}
    }
    
    @media only screen and (max-width: 411px) {
    	.big-box{
    		width:60% !important;
    	}
    }
    

    I know, I have used too many media queries but the problem is that I have tried a lot of ways to make them always align themselves in the centre of the section in all mobile device size or make them responsive in other words.

    I will really appreciate if somebody can help me with the issue.

    Thanks


    Kulwinder Krishan
    I love helping people with Any Genesis Theme Customizations.
    Check my website at http://www.ew3tech.com

    http://www.ew3tech.com
    January 22, 2015 at 6:02 am #138251
    Genesis Developer
    Member

    I checked on iPad. I'm not getting any issue


    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    January 22, 2015 at 6:07 am #138252
    Krishan
    Member

    Please check on iphones and android phones in both the portrait and landscape mode if you have access to them.

    Thanks


    Kulwinder Krishan
    I love helping people with Any Genesis Theme Customizations.
    Check my website at http://www.ew3tech.com

  • 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

© 2026 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