shnibitdohget
MemberForum Replies Created
-
Scratch all that… obviously going around my arse to get to my elbow. Try this instead:
.single-post #content-main {
width: 675px;
}
.single-post #sidebar1 {
display: none;
}Ok, edited single.php lines 25-26 to say,
if (!is_front_page() && is_active_sidebar('sidebar-widget-area')) { // Not home, display normal sidebar if active
dynamic_sidebar('sidebar-two-widget-area');That fixed the sidebar issue, now I just need to fix the single post width display…
Ok, figured it partly out… Made a header-single.php (as this was the only place I saw a get sidebar command, changed 185-192 to:
/* Sidebar2 on the left side? */
if ( in_array( graphene_column_mode(), array( 'three-col-right', /* 'three-col-center', */'two-col-right' ) ) ){
get_sidebar( 'two' );
}
/* Sidebar1 on the left side? */
if ( in_array( graphene_column_mode(), array( 'three-col-right', 'three-col-center' ) ) ){
get_sidebar();On single.php I changed the header to get the header-single.php file… However, this displays the primary sidebar on the left, instead of the secondary. So now I just need to fix that and adjust the width of the single post display.
Viewing 3 posts - 1 through 3 (of 3 total)
