ByteEditor Website Builder
Wiki menu
Footer Customization
By following the steps in this instruction, you will be able to create your custom footer. You can use the code snippets provided in the guide to recreate this footer, or you can modify the steps to tailor the footer to your specific needs.
Step 1. Create the footer view
- Open the project folder
- Open the “Views” → “Partials” folder. It already contains the built-in footers (“footer1.cshtml”–“footer4.cshtml”) and their shared markup (“footerShared.cshtml”).
- Create a file named “footer5.cshtml”
- Copy the following code and paste it into the file
5. Save the file and rebuild the project. Umbraco 17 compiles views when the project is built, so a footer view saved without a rebuild has no effect.
Step 2. Add the footer to the Footer Options list
- Open “Settings” → “Data Types” → “Design - Footer Options - Dropdown” (in the “ByteEditor” folder).
- Add a new option “footer5”. The option must match the file name of the view, without “.cshtml”.
- Click “Save”.
Step 3. Select the footer in your design
- Open “Content” → “Design Builder” and open the design your site uses.
- In “Footer Options”, select “footer5”.
- Click “Save and publish”, then open your site.
💡 The footer's colours come from the “Footer” colours of your design in the Design Builder, so the new footer follows the theme without any extra CSS.
💡 In the back office, the Footer block preview (Settings → Footer) shows one of the built-in layouts: a custom footer is only rendered on the website itself.
💡 Upgrading from version 4? The “ByteEditor:CustomFooters” section in “appsettings.json” and the AngularJS “.html” footer view are no longer used in version 17. You can remove them.