Now that the header has been created, we would like to create the footer area. Since we want the footer to display the main menu items, we will learn how to control the menu as well as how to create the footer.
![](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F3t66SaRn9xZwS59JFD99kB%2F9357c872f5deafb193c1e3386e180142%2Ffooter11.png&w=3840&q=75)
Building a Demo Site with Headless SXA - Part 6 Creating a Footer, Controlling the Menu
XM CloudHeadless SXAPublished: 2023-02-14
Create a menu for the site.
This time we are going to increase the tree structure of the content a bit. We are simply adding more page items, but they should look something like this
![footer01.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F7F5zTyfmduX7mcfs8XmkSp%2F381ba70929a0ffe9f3e9c769e9fe975b%2Ffooter01.png&w=3840&q=75)
This also changes the display of header menus that have already been created.
![footer02.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F4tSYxemnilaE19EsjJI7Rk%2F0b6ee08de2b2de4b92a637959469c158%2Ffooter02.png&w=3840&q=75)
Add a partial design
First, to add a new partial design, select Partial Designs from the Experience Editor menu, Experience Accelerator, and click Insert Partial Design.
![footer03.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F4OmyXTyL2MP2jWqKwdzvbs%2F180b9630e0d03dffbc81aa18b07cd757%2Ffooter03.png&w=3840&q=75)
In this case, we will create a design called Demo Footer.
![footer04.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F2rtmddmv8sB3sQeogm9GGO%2Ffd157ae304a4b0bab6e3602a49ba9657%2Ffooter04.png&w=3840&q=75)
Then, as when the header was being created, two containers are placed side by side.
![footer05.gif](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F6s9A4QoMFFesEmLtR7vnjA%2Fee9b9d4cb6749bbd58e371dfb6a40845%2Ffooter05.gif&w=3840&q=75)
Each specifies the background color.
![footer06.gif](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F7g1kPDXL8WX7sgN11M9zdJ%2Fe12967df8ad0a56cefe59acfeffa4c89%2Ffooter06.gif&w=3840&q=75)
In the bottom container, place a rich text component and include the copyright text. The text should be centered.
![footer07.gif](/_next/image?url=https%3A%2F%2Fdownloads.ctfassets.net%2Fzi1ovlormku8%2FTxT53SEgh6e0D4J6BIQNb%2Fc06a8202cf421f545387db3b97d8c88e%2Ffooter07.gif&w=3840&q=75)
This completes the general framework.
Place navigation
In this case, we would like to create a footer area using the navigation component. First, the navigation is placed as follows
![footer08.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2FasUdoSDy7kVnzpYkoXdiq%2F6d3d7a44a457d8b6d1edf9fc80122338%2Ffooter08.png&w=3840&q=75)
Select Big Fat Navigation as the navigation setting and add a Header style as in the menu above.
![footer09.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F3dmeKIw5dKZv3fQAO00KyO%2Fa27b839a51a7fbf4b496e31ba228f58e%2Ffooter09.png&w=3840&q=75)
This navigation should not be displayed on mobile devices. For this reason, the same settings as for the header should be made in the container above.
![footer10.gif](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2FKH8WqTgFGwBIpshBsXwbG%2F52c8adb691a6430294ed9db098884d9e%2Ffooter10.gif&w=3840&q=75)
Controlling navigation display items
This time the same items appear in the global menu and footer items. To control this, we will set up a navigation filter. This item can be selected in the content editor. For example, in this case we want the Showcase items to be reflected in the main navigation but not in the Footer. In this case, if you check the box, the item will not be displayed if the filter is set, and so the item will be set as follows.
![footer11.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F5EPOKSVRfkiOadeUvmEmG2%2Fe57c4faff3fed4c9d985d7b7e2ac075d%2Ffooter11.png&w=3840&q=75)
Other items should also be checked with respect to Footer Navigation. Apply this filter to the navigation component placed in the footer.
![footer12.gif](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2FEtyXlJZ3l7H4KlW4XYT5U%2Fde4054d15225c3f582d20035b0813ac0%2Ffooter12.gif&w=3840&q=75)
This navigation filter makes it possible to control which menu items are displayed.
Summary
This time we created the footer in one fell swoop, although we explained it carefully when we did the header. Also, in this case, we were able to use the navigation filter to implement a form of the menu that would be displayed in the top menu but not in the footer. By making good use of the navigation filter, it is very useful to be able to control what is shown and hidden in the navigation using the structure of the site.