• 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

Eleven 40 Pro: Display Single Post Titles Before Content Sidebar Wrap

This tutorial provides a single.php file which removes the entry titles on single posts and displays them before the content sidebar wrap.

Here’s the before and after screenshots:

default entry title position eleven 40 pro theme

After adding the single.php file & CSS code:

custom single.php file adds post title before content sidebar wrap

Installing The Code

The PHP Code: Please copy ALL the PHP code from the view raw link in the Gist and paste it into a new file named single.php using a text editor like Notepad++.

The CSS code: Change the CSS around Line 912 in your child themes style.css file so its exactly the same as whats in the Gist labelled style.css.

Otherwise, you can simply paste all of the CSS at the end of your style sheet.

Note: You can also copy this file and rename it to page.php if you want your single page titles to also display before your content sidebar wrap.

Related Solutions

  • Reposition Title Before Content Sidebar Wrap Like The NYTimes Post Layout

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.