• 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

Altitude Pro resize Front Page-1 area

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 › Altitude Pro resize Front Page-1 area

This topic is: not resolved

Tagged: Altitude Plus

  • This topic has 4 replies, 4 voices, and was last updated 10 years, 4 months ago by mario.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • February 27, 2015 at 4:40 pm #142600
    handsun
    Participant

    Hi, I am trying to make the top widget area in Altitude Pro less tall, but no matter what I do it fills the screen, I have uploaded an image that is 1600 wide by 320 and it just enlarges it . I have adjusted padding, I don't want to break the whole template, any ideas?? Thanks


    Clean affordable water by Kinetico

    February 27, 2015 at 4:48 pm #142601
    ᴅᴀᴠɪᴅ
    Member

    The size of the top widget area is controlled by javascript. Found in themes/altitude/js/home.js

    Inside that file, you will find this...

    // Image Section Height
    	var windowHeight = $( window ).height();
    
    	$( '.image-section' ) .css({'height': windowHeight +'px'});
    		
    	$( window ).resize(function(){
    	
    		var windowHeight = $( window ).height();
    	
    		$( '.image-section' ) .css({'height': windowHeight +'px'});
    	
    	});

    You could either delete all this and control the height yourself, with padding etc. Or change this code to how you want it. eg you could have it as (windowHeight + 100) or something instead of just windowHeight, that way the size would always be 100px over the screen height. Whatever is better for you.


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

    Follow on Twitter

    February 28, 2015 at 5:25 am #142638
    handsun
    Participant

    Thank you David!! I will do that, I appreciate that help!


    Clean affordable water by Kinetico

    April 5, 2015 at 8:23 pm #146770
    mneisser
    Member

    Thanks, this was a question of mine as well. I am very inexperienced in javascript. Is there a way to set the max height within this script?

    August 20, 2015 at 9:40 am #163008
    mario
    Member

    Perfect -- Thank you!

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

© 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