This document is deprecated! The information on this page refers to a Thesis version that is now obsolete. Please visit the Thesis Docs for current documentation.
Place the following code in custom_functions.php:
// Remove sidebars on home page
function no_sidebars() {
if (is_home())
return false;
else
return true;
}
add_filter('thesis_show_sidebars', 'no_sidebars');
// Add a custom class to home page for styling
function home_body_class($classes) {
if (is_home()) {
$classes[] .= 'home';
}
return $classes;
}
add_filter('thesis_body_classes', 'home_body_class');
Place the following code in custom.css, and adjust as needed:
/* Adjust home page to accommodate removal of sidebars */
.custom.home #content { width: auto; }
.custom.home #content_box { background: none; }