thesis 1.8.2

If you're customizing your WordPress Thesis Theme from scratch and want to null out the default divider lines such as Teaser Box lines, Comment lines, Sidebar lines, Post lines,  etc.  add the following code to the very top of your custom.css file:

1
2
3
4
5
6
7
8
9
.custom #header, .custom .post, .custom .teasers_box, .custom #footer, .custom #footer a, .custom #footer a:active, .custom #archive_info, .custom .prev_next, .custom #comment_list, .custom #comment_list dd, .custom #commentform, .custom #sidebar_1, .custom #sidebar_2, .custom #comment_list dt.comment, .custom #comment_list dd.comment, .custom #comment_list dl .bypostauthor .format_text, .custom #trackback_list {
border-bottom: 0px;
border-top: 0px;
border-right: 0px;
border-left: 0px;
}
.custom #content_box, .custom #column_wrap {
background: none;
}

Placing this code on top will give you the option to "over-rule" any declarations as long as your code is below/after this one.

Have you ever wanted to place a slider, ad, photo, etc. above your first post in it's own static widget area? If you said "yes" and have WordPress Thesis, check out the simple tutorial below.

Place the following code into your custom_functions.php

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

/* Sidebar Before Content */
add_action('thesis_hook_before_content', 'beforecontent');
function beforecontent() {
?>

<div id="">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('beforecontent') ){ ?>
<?php } ?>
</div>
<?php
}
?>

<?php
register_sidebar(array('name'=>'BeforeContent', 'before_title'=>'<h2>', 'after_title'=>'</h2>'));
?>

Categories

Impact
Search & Win

Link To Me

If you find anything useful, please