How to remove the 3rd sidebar (one theme v1.1.3)
1) Open sidebar.php
Find:
Quote:
<div class="right">
<?php ot_ads('right'); ?>
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar(2) ) : ?>
<div class="list">
<h3><?php echo ot_lang( 'sidebar_archives' ); ?></h3>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
</div>
<div class="clear"></div>
<div class="list">
<h3><?php echo ot_lang( 'sidebar_blogroll' ); ?></h3>
<ul>
<?php wp_list_bookmarks('title_li=&categorize=0'); ?>
</ul>
</div>
<div class="clear"></div>
<div class="list">
<h3><?php echo ot_lang( 'sidebar_rss' ); ?></h3>
<ul>
<li><a href="feed:<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>">
<?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
</ul>
</div>
<div class="clear"></div>
<div class="list">
<h3><?php echo ot_lang( 'sidebar_meta' ); ?></h3>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
<li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
<?php wp_meta(); ?>
</ul>
</div>
<div class="clear"></div>
<?php endif; ?>
</div>
|
Delete it
2) Open the CSS file your site is using, for example, if your site uses the blue theme, open one-theme/css/blue.css
Find:
Quote:
|
.sidebar-container{width:365px;float:right;margin:0;padding:0;}
|
Replace with:
Quote:
|
.sidebar-container{width:226px;float:right;margin:0;padding:0;}
|
Find:
Quote:
|
.left{float:left;width:512px;margin:5px;overflow:hidden;}
|
Replace with:
Quote:
|
.left{float:left;width:650px;margin:5px;overflow:hidden;}
|
3) open comments.php
Find:
Quote:
|
<div style="width:503px;">
|
Replace With
Quote:
|
<div style="width:640px;">
|
This works best with the news & blog layouts, not recommended for the default layout.
Enjoy