Add Left Column
-
Hi,
I’d like to add a 3rd column to my two column theme for “Fresh and Clean”; I followed some instructions from another thread but it didn’t work for me. Here is what I did so far:
Added the following section “Sidebar-side” to my style.css:
/*** Sidebar-side ***/
#sidebar-side{float:left; width:250px; padding:10px 0; font-size:0.93em}
#sidebar-side ul{background:#FFF; list-style:none; margin:0}
#sidebar-side li{margin:5px 0}
.box{margin:0 0 20px}
.textwidget{padding:10px 0}
#sidebar h4{font-size:1.43em; font-weight:normal; padding: 0 0 5px; margin: 0 0 15px; border-bottom:1px solid #CCC}Added new file called “sidebar-side.php” that contains:
<div id=”sidebar”>
<?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘LeftSidebar’) ) : ?>
<?php endif; ?>
</div><!– End Sidebar –>Added the following to functions.php:
register_sidebar(array(
‘name’ => ‘LeftSidebar’,
‘description’ => ‘Widgets in this area will be shown on the left-hand side.’,
‘id’ => ‘sidebar-2’,
‘before_widget’ => ‘<div class=”box”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<h4>’,
‘after_title’ => ‘</h4>’,
));I’m not a coder at all, so ANY help you can provide would be great. The site I’m playing with is: https://www.doodlingdavincis.com/blog
Thanks!
Stephanie
- The topic ‘Add Left Column’ is closed to new replies.