• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

Feature Your 1st Post Full Width With a Different Style On Your Blog Page

This tutorial shows you how to show off the first post in your home pages main loop in a feature box.

The 1st post will display full width covering the content and sidebar.

The 2nd and subsequent posts will display in the standard layout which is generally, content sidebar.

Here’s a very basic example of what the code in this tutorial produces tested on the Genesis Sample child theme:

1st-post

All you need to do is add your own styling to the sample CSS included below.

Code Installation

There’s 2 simple steps:

  1. Add the PHP code to the end of your child themes functions.php file.
  2. Add the sample CSS to the end of your child themes style.css file before the Media Queries.

Register for full access

Related Tutorials

  • Add Custom Body & Post Classes To First Post In Loop On Home Page

Blog Page

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.