Tagged: catch box
- This topic has 18 replies, 3 voices, and was last updated 11 years, 4 months ago by Sakin.
-
AuthorPosts
-
October 28, 2012 at 7:08 pm #1402Christophe DelireMember
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 ?October 29, 2012 at 11:46 pm #1425SakinKeymasterHi 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,
SakinOctober 30, 2012 at 12:05 am #1426Christophe DelireMemberHi. 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
October 30, 2012 at 1:05 am #1429SakinKeymasterI have just send you email in your info of puurslof.be . Check your email and send me reply.
October 30, 2012 at 1:26 am #1432SakinKeymastercan 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.
October 30, 2012 at 2:48 pm #1441Christophe DelireMemberHi 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 ).
October 30, 2012 at 8:50 pm #1442SakinKeymasterHi 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,
SakinOctober 30, 2012 at 10:55 pm #1445Christophe DelireMemberCaramba ! 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 🙂October 31, 2012 at 12:08 am #1446SakinKeymasterHi 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,
SakinOctober 31, 2012 at 2:54 am #1453Christophe DelireMemberNothing 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
October 31, 2012 at 5:28 pm #1460SakinKeymasterCan you send me the image screenshot for that I can check in.
October 31, 2012 at 6:01 pm #1461October 31, 2012 at 6:03 pm #1462SakinKeymasterThe dropbox image did you make it public as it is not accessible to me.
October 31, 2012 at 6:05 pm #1463Christophe DelireMemberYou were to fast. It was still in transfert :-). Can you get it now ?
October 31, 2012 at 6:07 pm #1464Christophe DelireMemberIf not here it is on my server http://www.puurslof.be/wp-content/uploads/catchbox_capture_onecolumn.jpg
October 31, 2012 at 6:41 pm #1465SakinKeymasterFinally 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
November 20, 2012 at 9:25 pm #1994SakinKeymasterHi Christophe,
Yes I see that and have already fixed that issue in the latest version. Just update your theme and your are done.
Regards,
SakinJuly 8, 2013 at 10:23 pm #11560taultMemberUsing 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?
July 9, 2013 at 12:49 am #11565 -
AuthorPosts
- The topic ‘catch-box: I can't change the default layout anymore’ is closed to new replies.