• Resolved Bloodofeve

    (@bloodofeve)


    I successfully added a boxed layer to the content div of the Canvas wootheme full width header and footer option.
    But my backup didn’t work on my plugin and when I upgraded to the new version of Canvas I lost all my alterations to my website.

    I have rebuilt my child theme and uninstalled the faulty backup plugin
    The css I’m using is as follows:-

    #business-container {
    background: #FFFFFA;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-shadow: 1px 1px 3px 2px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 1px 1px 3px 2px rgba(0, 0, 0, 0.15);
    box-shadow: 1px 1px 3px 2px rgba(0, 0, 0, 0.15);
    border: 1px solid #BCB6A9;
    margin: 10px auto 0;
    position: relative;
    cursor: auto;
    width: 90%;
    min-width: 700px;
    max-width: 1728px;
    z-index: auto !important;
    }

    I’m now struggling to find where I put the business-container div in the business-template.php.

    I’m struggling to find where I need to make the DIV addition in the template.

    I think the php coding I used was this:-

    // Add business container
    add_action( 'woo_content_before', 'main_container_start' );
    function main_container_start() { ?>
        <!--#footer_container_start-->
        <div id="business-container">
    <?php
    }
    add_action( 'woo_main_before', 'main_container_end' );
    function main_container_end() { ?>
        </div><!--/#footer_container_end-->
    <?php

    Please could someone point me in the right direction as to where to add the insert into the php file.
    Because when I add the function to the template i keep getting this error showing up

    Parse error: syntax error, unexpected '}' in /homepages/24/d520177130/htdocs/.pomegranate/wp-content/themes/canvas-child/template-biz.php on line 61

    An example of what I am looking for can be found here on my test site https://www.bloodofeve.co.uk
    If you would like to look at the actual site I’m working on which is https://www.pomegranateiow.co.uk it is in maintenance mode and I’ll switch it off.

  • The topic ‘Problems with Boxed Layout with full width Header & Footer in Canvas theme after’ is closed to new replies.