What's new? | Help | Directory | Sign in
Google
veryplaintxt
The original 'very plain text' theme for WordPress
  
  
  
  
    
Search
for
Updated Apr 09, 2008 by swallick
Labels: Featured, Phase-Design
SidebarMod  
Modify veryplaintxt to show sidebar on pages and single posts

Introduction

The sidebar on pages and single posts is hidden with CSS alone. These instructions are for veryplaintxt v 4.5.

Details

Here's what you do. In your style.css file, make the following changes in the following order.

  1. Delete line 32. The whole line that reads:
  2. body.single div#content,body.page div#content{margin:3em 0 0;}
  3. Delete line 29. The whole line that reads:
  4. body.single div#container,body.page div#container{margin:0 0 2em;}
  5. In line 25, remove the following descriptors from that line:
  6. body.single div.sidebar,body.page div.sidebar,
    The revised line 25 should read:
    body.home div#globalnav,body.archive div#globalnav,body.search div#globalnav,body.four04 div#globalnav,body div#globalnav ul li ul,div.access,span#theme-link span.additional-name,span#theme-link span.family-name{display:none;}
  7. Save and update the file. Be sure to clear your browser cache and refresh your browser to see the changes.

Sign in to add a comment