Add Layout in Footer

Permalink Browser Info Environment
Hi there,

Just purchased your theme and I know my clients are going to love their final site.

I'm just hoping to be able to have the ability to have the Add Layout in footer to give it 4 columns. I tried testing code it in the footer.php, but only succeeded at adding 4 horizontal sections to add blocks/stacks etc too.

Thank you in advance for all your help. I really enjoy working with all of your themes.

Type: Discussion
Status: In Progress
designsforchange
View Replies:
c5mix replied on at Permalink Reply
c5mix
You can't add layouts in Global Areas (which is what the footer area is. You would need to edit the footer like you mentioned to include 4 separate global areas.
designsforchange replied on at Permalink Reply
designsforchange
It shows in the Stacks, there is a Footer Column Four. Can I activate that? If so, I've tried to implement it and nothing shows up.

Thanks again.

Cheers
c5mix replied on at Permalink Reply
c5mix
That must have been from another theme you have installed. Treviso only has one global footer area.
scrivener replied on at Permalink Reply
scrivener
Hi, Chris. How difficult would it be to do that (edit the footer to provide four global areas)? I'm building two Treviso sites now and could really use that capability. Is it something I could suss out by looking at the Slate footer (I have a handful of Slate sites) and modifying the Treviso footer accordingly? Or is it the kind of thing that if I have to ask this kind of question I should probably leave it alone?

Thanks,
Andrew
c5mix replied on at Permalink Reply
c5mix
In the footer.php file replace this:
<div class="col-md-12">
                    <?php 
               $a = new GlobalArea('Footer');
               $a->display();
               ?>
                </div><!-- #footer .col-md-12 ends -->

With this:
<div class="col-md-3">
                    <?php 
               $a = new GlobalArea('Footer');
               $a->display();
               ?>
                </div><!-- #footer .col-md-3 ends -->
<div class="col-md-3">
                    <?php 
               $a = new GlobalArea('Footer Two');
               $a->display();
               ?>
                </div><!-- #footer .col-md-3 ends -->
<div class="col-md-3">
                    <?php 
               $a = new GlobalArea('Footer Three');
scrivener replied on at Permalink Reply
scrivener
Thanks very much, both for the excellent patch and for the very fast response time. Love it!

Thanks again,
Andrew
c5mix replied on at Permalink Reply
c5mix
You're very welcome!

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.