Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1398
    RunnerBubbsy
    Member

    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?

    #1431
    Sakin
    Keymaster

    @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' );

    #1437
    elielhillel
    Member

    I do what you suggest, it still does not work 🙁
    http://www.eliel.co.il

    #1438
    Sakin
    Keymaster

    @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.

    #1998
    Sakin
    Keymaster

    Just update to latest version to fix this issue.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Content Display error after update’ is closed to new replies.