Tagged: 

Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #1402

    Since I’ve done a theme upgrade of catch-box I lost my one column default layout configuration. It still two column with a right sidebar. If I change in the theme options it record my choice but there’s no effect in fontend.
    Where informations about my choice are recorded ? In the database ? Somewhere else ? How can I fix that ? Any idea ?

    #1425
    Sakin
    Keymaster

    Hi Christophe,

    Have to done any customization on theme as it is working fine on our side. Send me your site URL and I will check in.

    Regards,
    Sakin

    #1426

    Hi. Thanks for your answer. Here’s the link http://puurslof.be/ I can give you a administration access, if u send me an email adress

    #1429
    Sakin
    Keymaster

    I have just send you email in your info of puurslof.be . Check your email and send me reply.

    #1432
    Sakin
    Keymaster

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

    Let me know if this fix your issue and then I will release the patch now.

    #1441

    Hi Sakin, thanks for your reply and the patch. I have created an admin access for you on http://puurslof.be ( the backend is in dutch 🙂 ) . Here’s a video to show you the result of the patch. Not so bad. Could be interresting: it’s offer more variation ) http://youtu.be/T_DOu8n75JA . As you will see I did a special template for the homepage. Maybe could be interresting for others ( Nothing else than the slider ).

    #1442
    Sakin
    Keymaster

    Hi Christophe,

    I am not being able to see your video. It’s error. I see that you have created custom HomePage By PMA template. So, what you want to achieve. I think your old screenshot will be best for me.

    Regards,
    Sakin

    #1445

    Caramba ! Here’s the link: http://youtu.be/T_DOu8n75JA I’ve checked for me it’s ok…
    Youtube channel is there : http://youtube.com/postmodemart
    I explain in that video that “ONE COLUMN TEMPLATE” by default now is running in the good width size. But it still call the sidebar, so the sidebar is now UNDER the main column.
    If I keep by default “ONE COLUMN TEMPLATE” and give to a page the NO SIDEBAR template, than the width of the site takes the full width ( main + column ) area. Can you send me an archive of the old catch-box template ( before the last update ) – This one woked perfectly 🙂

    #1446
    Sakin
    Keymaster

    Hi Christophe,

    For now you can replace your copy of function.php with this one http://themes.svn.wordpress.org/catch-box/1.5.5/functions.php and your style.css with this one http://themes.svn.wordpress.org/catch-box/1.5.5/style.css

    the video is still not visible for me. I think there is country restriction. But I am sure that this will fix your issues as it has fixed for all other users.

    Regards,
    Sakin

    #1453

    Nothing change for me. Maybe I’ve missing something. No problem. I will check further when I will have time. Thanks for your help. Strange that the video didn’t play. Regards

    #1460
    Sakin
    Keymaster

    Can you send me the image screenshot for that I can check in.

    #1461
    #1462
    Sakin
    Keymaster

    The dropbox image did you make it public as it is not accessible to me.

    #1463

    You were to fast. It was still in transfert :-). Can you get it now ?

    #1464
    #1465
    Sakin
    Keymaster

    Finally I got it what you mean. I got solution for you. Now, can you replace the code in sidebar.php with this one https://dl.dropbox.com/u/81234910/sidebar.php

    #1994
    Sakin
    Keymaster

    Hi Christophe,

    Yes I see that and have already fixed that issue in the latest version. Just update your theme and your are done.

    Regards,
    Sakin

    #11560
    tault
    Member

    Using the catchbox theme, is there a lay of disabling the collapse feature of this theme and still be able to have the site simply fit screen rather then collapse and loose its shape. Like a type of fixed code of some type?

    #11565
    Sakin
    Keymaster

    @tault: Sorry I don’t understand you. Are you asking for disabling the Responsive Layout. Then you can do that from you “Appearance => Theme Options => Responsive Design”. But this option is there only in Pro and Premium version of themes.

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘catch-box: I can't change the default layout anymore’ is closed to new replies.