- This topic has 4 replies, 3 voices, and was last updated 11 years, 5 months ago by Sakin.
-
AuthorPosts
-
October 28, 2012 at 12:20 am #1398RunnerBubbsyMember
Hi – Since updating to latest version, my content is now displaying incorrectly. Despite being set in Theme Options as One Column No Sidebar – content appears only to be displaying on the left – web site address is http://www.Folkestone10.co.uk – any ideas?
October 30, 2012 at 1:23 am #1431SakinKeymaster@SunnerBubbsy:
can you replace this in your function.php file line no 625 till 655
/**
* Adds two classes to the array of body classes.
* The first is if the site has only had one author with published posts.
* The second is if a singular post being displayed
*
* @since Catch Box 1.0
*/
function catchbox_body_classes( $classes ) {
$options = catchbox_get_theme_options();
$layout = $options['theme_layout'];
if ( function_exists( 'is_multi_author' ) && !is_multi_author() ) {
$classes[] = 'single-author';
}
if ( $layout == 'content-sidebar' && !is_page_template( 'page-disable-sidebar.php' ) && !is_page_template( 'page-fullwidth.php' ) ) {
$classes[] = 'content-sidebar';
}
elseif ( $layout == 'sidebar-content' && !is_page_template( 'page-disable-sidebar.php' ) && !is_page_template( 'page-fullwidth.php' ) ) {
$classes[] = 'sidebar-content';
}
elseif ( $layout == 'content-onecolumn' && !is_page_template( 'page-disable-sidebar.php' ) && !is_page_template( 'page-fullwidth.php' ) ) {
$classes[] = 'content-onecolumn';
}
elseif ( is_page_template( 'page-disable-sidebar.php' ) || is_attachment() ) {
$classes[] = 'singular';
}
elseif ( is_page_template( 'page-fullwidth.php' ) || is_attachment() ) {
$classes[] = 'fullwidth';
}
return $classes;
}
add_filter( 'body_class', 'catchbox_body_classes' );
October 30, 2012 at 11:16 am #1437elielhillelMemberI do what you suggest, it still does not work 🙁
http://www.eliel.co.ilOctober 30, 2012 at 11:49 am #1438SakinKeymaster@elielhillel: You got different issue. Can you add the following css in your “Custom CSS” box in you theme options under Appearance Tab:
.sidebar-content #primary {
float: right;
margin: 0 0 0 -35.5%;
}
.sidebar-content #content {
margin: 0 3% 0 38.6%;
}
.sidebar-content #secondary {
float: left;
margin-left: 3%;
margin-right: 0;
}
.sidebar-content.singular #content {
margin: 0 3%;
position: relative;
width: auto;
}
All this issue will be fixed in version 1.5.5 soon. This is just a temporary fix. As soon as the new version is available for download. You can just remove this.
November 20, 2012 at 9:58 pm #1998SakinKeymasterJust update to latest version to fix this issue.
-
AuthorPosts
- The topic ‘Content Display error after update’ is closed to new replies.