i made a few custom widget bars and they all work fine except the ones in my footer for some reason they have bullet points whenever i add something to them
here is the php code
register_sidebar(array('name'=>'Footer Column 1', 'before_title'=>'<h3>', 'after_title'=>'</h3>'));
register_sidebar(array('name'=>'Footer Column 2', 'before_title'=>'<h3>', 'after_title'=>'</h3>'));
register_sidebar(array('name'=>'Footer Column 3', 'before_title'=>'<h3>', 'after_title'=>'</h3>'));
// Footer Widgets
function footer_widgets_html() {
?>
<div id="custom_footer">
<div class="column1">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Column 1') ){ ?><?php } ?>
</div>
<div class="column2">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Column 2') ){ ?><?php } ?>
</div>
<div class="column3">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Column 3') ){ ?><?php } ?>
</div>
</div>
<?php }
add_action('thesis_hook_after_footer','footer_widgets_html');
and the css
/* --- Footer Widgets --- */
#custom_footer { /* The parent DIV containing all 3 widgets */
height: 350px;
width: 100%;
margin: 30px 0 0 0;
}
#custom_footer h3 { /* Headline color */
height: 40px;
font-size: 20px;
color: #000;
}
#custom_footer a { /* Link color */
color: #000;
}
#custom_footer ul li { /* Remove bullets */
list-style: none;
}
.column1 {
height: auto;
width: 30%;
margin: 0 0 0 15px;
padding: 5px;
float: left;
}
.column2 {
float: left;
height: auto;
width: 30%;
margin: 0 0 0 15px;
padding: 5px;
float: left;
}
.column3 {
height: auto;
width: 30%;
margin: 0 0 0 15px;
padding: 5px;
float: left;
}
here is the php code
register_sidebar(array('name'=>'Footer Column 1', 'before_title'=>'<h3>', 'after_title'=>'</h3>'));
register_sidebar(array('name'=>'Footer Column 2', 'before_title'=>'<h3>', 'after_title'=>'</h3>'));
register_sidebar(array('name'=>'Footer Column 3', 'before_title'=>'<h3>', 'after_title'=>'</h3>'));
// Footer Widgets
function footer_widgets_html() {
?>
<div id="custom_footer">
<div class="column1">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Column 1') ){ ?><?php } ?>
</div>
<div class="column2">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Column 2') ){ ?><?php } ?>
</div>
<div class="column3">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Column 3') ){ ?><?php } ?>
</div>
</div>
<?php }
add_action('thesis_hook_after_footer','footer_widgets_html');
and the css
/* --- Footer Widgets --- */
#custom_footer { /* The parent DIV containing all 3 widgets */
height: 350px;
width: 100%;
margin: 30px 0 0 0;
}
#custom_footer h3 { /* Headline color */
height: 40px;
font-size: 20px;
color: #000;
}
#custom_footer a { /* Link color */
color: #000;
}
#custom_footer ul li { /* Remove bullets */
list-style: none;
}
.column1 {
height: auto;
width: 30%;
margin: 0 0 0 15px;
padding: 5px;
float: left;
}
.column2 {
float: left;
height: auto;
width: 30%;
margin: 0 0 0 15px;
padding: 5px;
float: left;
}
.column3 {
height: auto;
width: 30%;
margin: 0 0 0 15px;
padding: 5px;
float: left;
}