Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Additional full width templates #5098
    shurican
    Member

    Thanks for your feedback but I think the key is not another theme. You have the following function in functions.php:

     

    function catchbox_body_classes( $classes )

    Here you set fullsize as CSS class. Example: 

    elseif ( is_page_template( ‘page-disable-sidebar.php’ ) || is_attachment() ) {

    $classes[] = ‘singular’;

    }

    elseif ( is_page_template( ‘page-fullwidth.php’ ) || is_attachment() ) {

    $classes[] = ‘fullwidth’;

    }

    Here I would like to add another template but this doesn’t work and I don’t understand why:

    elseif ( is_page_template( ‘page-finder.php’ ) || is_attachment() ) {

    $classes[] = ‘fullwidth’;

    }

     

    in reply to: Additional full width templates #4928
    shurican
    Member

    Too bad, I can’t as the site is still in development. Do you have any other hint? I just want to add the page templates above to be rendered as full size. Where do you define the CSS classes for each template?

    in reply to: Additional full width templates #4875
    shurican
    Member

    Thanks for your reply but I don’t get it. I just tried to understand child themes but I don’t think this is what I need. I have 5 pages which all should have full width just like page-fullwidth.php.

    I created a page template .php for each page like page-210.php and page-32.php.

    Now I want these pages to have the CSS and structure just like page-fullwidth.php.

    How do I do this?

Viewing 3 posts - 1 through 3 (of 3 total)