• 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

Static frontpage in Whitespace Pro

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 › Static frontpage in Whitespace Pro

This topic is: not resolved

Tagged: Whitespace Pro

  • This topic has 6 replies, 3 voices, and was last updated 10 years, 9 months ago by Genesis Developer.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • November 27, 2014 at 10:18 am #133003
    squid74
    Participant

    Hi all,

    I want to have the default look of the frontpage with the following changes:

    1. Instead of posts I want to display teaser to pages and without the date
    2. I want to add additional text before and after the teasers

    When I look at the frontpage.php I don't understand how the page is constructed.

    When I add the code manually (using a static page) the teasers are not in three columns.

    Any ideas?

    November 27, 2014 at 10:23 am #133005
    squid74
    Participant

    Do I need to make changes in the Genesis theme in the function genesis() ?

    November 27, 2014 at 10:23 am #133006
    Genesis Developer
    Member

    You can do this by following steps:

    1. Delete the frontpage.php file from theme folder
    2. Create a Static Home page with teaser and content
    3. For three columns you can use genesis columns classes or use this shortcodes tips


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

    November 27, 2014 at 10:46 am #133021
    squid74
    Participant

    For some reason these column classes don't work. Not with shortcodes. Not with raw divs.

    November 27, 2014 at 10:54 am #133022
    Genesis Developer
    Member

    Ok. then you need to add the following CSS in your style.css file.

    /* Column Classes
    	Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css
    --------------------------------------------- */
    
    .five-sixths,
    .four-sixths,
    .one-fourth,
    .one-half,
    .one-sixth,
    .one-third,
    .three-fourths,
    .three-sixths,
    .two-fourths,
    .two-sixths,
    .two-thirds {
    	float: left;
    	margin-left: 2.564102564102564%;
    }
    
    .one-half,
    .three-sixths,
    .two-fourths {
    	width: 48.717948717948715%;
    }
    
    .one-third,
    .two-sixths {
    	width: 31.623931623931625%;
    }
    
    .four-sixths,
    .two-thirds {
    	width: 65.81196581196582%;
    }
    
    .one-fourth {
    	width: 23.076923076923077%;
    }
    
    .three-fourths {
    	width: 74.35897435897436%;
    }
    
    .one-sixth {
    	width: 14.52991452991453%;
    }
    
    .five-sixths {
    	width: 82.90598290598291%;
    }
    
    .first {
    	clear: both;
    	margin-left: 0;
    }
    
    @media only screen and (max-width: 767px) {
    
    	.five-sixths,
    	.four-sixths,
    	.one-fourth,
    	.one-half,
    	.one-sixth,
    	.one-third,
    	.three-fourths,
    	.three-sixths,
    	.two-fourths,
    	.two-sixths,
    	.two-thirds {
    		margin: 0;
    		width: 100%;
    	}
    
    }
    

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

    February 2, 2015 at 2:13 pm #139440
    tiffanyb
    Member

    @squid74 - Did you get your question answered? I'm trying to do the same thing with my front page.

    February 4, 2015 at 11:10 pm #139758
    Genesis Developer
    Member

    @squid74: Add the following code in your functions.php file

    function show_pages_on_home( $query ) {
      if ( $query->is_home() && $query->is_main_query() ) {
        $query->set( 'post_type', 'page' );
      }
    }
    add_action( 'pre_get_posts', 'show_pages_on_home' );

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

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

© 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