--- title: "Custom footer" slug: "custom-footer" description: "To create a custom footer, open Footer Navigation in Site Design and Navigations. Click the custom footer section to open a panel with two sections, one for HTML and one for CSS. You can choose one of two themes, Theme A or Theme B which will render boilerplate template code that you change or edit." tags: ["Knowledge base design"] updated: 2026-06-19T14:53:59Z published: 2026-06-19T14:53:59Z canonical: "docs.document360.com/custom-footer" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.document360.com/llms.txt > Use this file to discover all available pages before exploring further. # Custom footer The custom footer lets you replace the default footer on your knowledge base site with your own HTML and CSS layout. Unlike the pre-built footer options, the custom footer gives you complete control over what appears at the bottom of every page - including multi-column link groups, your logo, copyright text, contact details, social icons, or any other content your brand requires. Building a custom footer requires working knowledge of HTML and CSS. --- ## When to use the custom footer - **Multi-column layouts** - when you need to organise footer links into labelled columns (such as Product, Resources, and Company), the basic footer's single-row format isn't sufficient. - **Brand-consistent design** - apply your brand's exact colours, fonts, and visual style to the footer without being constrained by the basic footer's fixed structure. - **Rich footer content** - add a logo, mission statement, office addresses, contact details, or embedded social icons beyond the four supported in the basic footer. - **Linking PDFs or files** - embed links to files stored in your Drive directly in the footer HTML. --- ## How to create a custom footer 1. Navigate to {{variable.Settings}} () > {{variable.Knowledge base site}} in the left navigation bar of the Knowledge base portal. 2. In the left navigation pane, navigate to **Site customization**. 3. Click the **Customize site** button. Site customization page showing the Customize site button 4. Select **Site header & footer** from the dropdown. 5. Click the **Footer** tab and choose the **Custom footer** option. Three options appear: - **Theme A** - a predefined dark theme. You can edit the provided code if needed. - **Theme B** - a predefined light theme. You can edit the provided code if needed. - **Blank** - an empty editor for writing your own HTML footer from scratch. Custom footer section with HTML code for website customization displayed on the screen. 6. Select your preferred option and add or edit the HTML and CSS code. :::(Info) ( NOTE) A custom footer applies to all pages in your knowledge base site. ::: ## How to save and publish - Use the **Preview** toggle on the right to review your changes. - Click **Save** to save your changes. - Click **Publish** to make changes live. --- ## How to link a PDF or file in the custom footer 1. Navigate to **Drive** () in the left navigation bar of the Knowledge base portal and select the desired file. The **File details** panel appears. 2. In the **Location** section, click the **Copy** icon to copy the file link. 3. Navigate to {{variable.Settings}} () > {{variable.Knowledge base site}} > **Site customization** and click **Customize site**. 4. Select **Site header & footer** from the dropdown. 5. Click the **Footer** tab and choose the **Custom footer** option. 6. Select your desired theme. 7. In the **Custom code section**, paste the copied link in the desired location as an `` element. Animated walkthrough showing how to copy a file link from Drive and paste it into the custom footer HTML editor --- ## Custom footer templates The following templates are ready to use. To implement any design, navigate to {{variable.Settings}} () > {{variable.Knowledge base site}} > **Customize site** > **Site header & footer** > **Footer** > **Custom footer** > **Blank**, and paste the HTML and CSS into the respective sections. :::(Info) ( NOTE) You can adjust styles such as colors, font sizes, or spacing to better match your brand. ::: --- ### Footer design 1 Website footer displaying company information, resources, and support options for users A multi-column footer with Product, Resources, Partnerships, Company, and Support link sections, social media icons, an email input, and a request demo button. Includes a bottom bar with legal links.

HTML code

```html ```

CSS code

```css .footer { padding-top: 112px; } .footer-top { display: flex; justify-content: space-between; margin: auto; width: 1225px; } .footer-top h4 { font-size: 18px; letter-spacing: 0.5px; line-height: 23px; font-weight: 600; color: rgba(39, 40, 80, 1); margin-bottom: 19px; margin-top: 0px; } .footer-top ul { list-style-type: none; padding: 0px; } .footer-bottom { display: flex; justify-content: space-between; position: relative; width: 1225px; margin: auto; margin-top: 103px; } .footer-bottom ul { list-style-type: none; padding: 0px; display: flex; justify-content: center; flex: 0 0 30%; margin: 0px; align-items: center; } .footer-bottom ul li a { color: rgba(39, 40, 80, 1); } .footer-top ul li { padding: 10px 0px 10px 0px; font-size: 14px; letter-spacing: 0.5px; line-height: 19px; font-weight: 400; color: rgba(143, 143, 160, 1); width: 185px; } .footer-last { display: flex; justify-content: flex-end; width: 1225px; margin-top: 25px !important; margin: auto; color: rgba(143, 143, 160, 1); font-size: 14px; margin-bottom: 76px; } .footer-last p { flex: 0 0 13%; color: rgba(143, 143, 160, 1); font-size: 14px; padding-left: 40px; } div.footer-bottom:before { content: ""; position: absolute; left: 0%; right: 0; bottom: 82px; height: 5px; width: 97%; border-top: 1px solid #D9D9DF; } .icons { display: flex; flex: 0 0 50%; align-items: center; } .footer-form button { background-color: #0042E4; color: white; padding: 10px 16.34px 10px 16.5px; font-size: 15px; border: 0px; font-weight: 700; } input#fname { padding: 10px 100.84px 11px 16.6px; width: 232px; height: 40px; font-size: 14px; border: 1px solid RGB(193, 193, 204); } .fab { font-family: "Font Awesome 5 Brands"; font-weight: 400; font-size: 23px; } .icons ul li { margin-right: 23px; } ```
--- ### Footer design 2 Footer section displaying copyright, privacy policy, and contact information A minimal footer with a background SVG graphic using coloured circles and polygons, with copyright text, privacy policy, and terms of service links centred at the bottom.

HTML code

```html ```

CSS code

```css .footer { position: relative; background-color: #fff; color: #333; padding: 60px 20px 40px; text-align: center; font-family: 'Segoe UI', sans-serif; overflow: hidden; } .footer-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; } .footer-background svg { width: 100%; height: 100%; } .footer-content { position: relative; z-index: 1; } .footer-content a { color: #118AB2; text-decoration: none; } .footer-content a:hover { text-decoration: underline; } ```
--- ### Footer design 3 Multi-column footer with company, help, shop, and social media sections A full-width footer with a gradient background, four columns (Company, Get help, Shop online, Follow us), and circular social media icon links. Uses the Poppins font and is fully responsive.

HTML code

```html Footer Design ```

CSS code

```css @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); body { line-height: 1.5; font-family: 'Poppins', sans-serif; background-color: #f4f4f9; } * { margin: 0; padding: 0; box-sizing: border-box; } .container { max-width: 1170px; margin: auto; padding: 0 15px; } .row { display: flex; flex-wrap: wrap; } ul { list-style: none; } .footer { background: linear-gradient(135deg, #f3f4f6, #e5ecf9); padding: 70px 0; box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05); } .footer-col { width: 25%; padding: 0 15px; position: relative; } .footer-col h4 { color: #333333; font-size: 18px; margin-bottom: 25px; font-weight: 600; position: relative; padding-bottom: 10px; } .footer-col h4::before { content: ''; position: absolute; left: 0; bottom: 0; background-color: #333333; height: 2px; width: 50px; border-radius: 4px; } .footer-col ul li:not(:last-child) { margin-bottom: 12px; } .footer-col ul li a { font-size: 15px; text-transform: capitalize; color: #555555; text-decoration: none; font-weight: 300; transition: all 0.3s ease; display: block; padding: 2px 0; } .footer-col ul li a:hover { padding-left: 10px; color: #1a1a1a; } .footer-col .social-links a { display: inline-block; height: 40px; width: 40px; background-color: #d1d5db; margin: 0 10px 10px 0; text-align: center; line-height: 40px; border-radius: 50%; color: #333333; font-size: 18px; transition: all 0.4s ease; } .footer-col .social-links a:hover { background-color: #ffffff; color: #4f46e5; transform: scale(1.1); } @media(max-width: 767px) { .footer-col { width: 50%; margin-bottom: 30px; } } @media(max-width: 574px) { .footer-col { width: 100%; } } ```
--- ### Footer design 4 Coral-to-peach gradient header and light blue gradient footer with copyright text A combined header and footer layout. The header uses a coral-to-peach gradient with navigation links. The footer uses a light blue gradient with copyright text and legal links.

HTML code

```html Product name ```

CSS code

```css * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Poppins', sans-serif; line-height: 1.6; background-color: #fdfbff; color: #2c2c2c; } .na-header { background: linear-gradient(to right, #ff7e5f, #feb47b); color: white; padding: 20px 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } .na-logo { font-size: 26px; font-weight: 700; letter-spacing: 1px; } .na-nav a { margin-left: 20px; color: #ffffff; text-decoration: none; font-weight: 500; font-size: 15px; transition: all 0.3s ease; position: relative; } .na-nav a::after { content: ''; display: block; height: 2px; background: #ffffff; width: 0%; transition: width 0.3s ease; position: absolute; bottom: -4px; left: 0; } .na-nav a:hover::after { width: 100%; } .na-footer { background: linear-gradient(to right, #f4f9ff, #e1ecf4); color: #333333; text-align: center; padding: 20px 10px; font-size: 14px; border-top: 1px solid #d2dce7; } .na-footer a { color: #0066cc; text-decoration: none; font-weight: 500; } .na-footer a:hover { text-decoration: underline; color: #004a99; } ```
--- ### Footer design 5 Footer with recent documentation updates, contact details, and call-to-action buttons A light blue-grey section with two card panels side by side: a latest documentation updates list with dates and read-more links, and a contact panel with address, email, phone, and Start Free Trial / Book a Demo buttons. Includes a copyright bar at the bottom.

HTML code

```html Document360 Highlights

Latest Documentation Updates

  • Using AI Writer to Generate Articles

    READ MORE
  • Enabling SSO with Azure AD in Document360

    READ MORE
  • Setting Up Custom Domain & SSL

    READ MORE

Get in Touch

Document360

London, UK

support@document360.com

+XX XX XXXX XXXX

```

CSS code

```css body { margin: 0; font-family: Arial, sans-serif; background-color: #f9f9f9; color: #1a1a1a; } .custom-section { background-color: #e6f0f3; padding: 30px 20px; } .custom-container { display: flex; justify-content: space-evenly; flex-wrap: wrap; gap: 40px; } .article-box, .contact-box { flex: 1 1 300px; background-color: #ffffff; padding: 20px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); } .section-heading { border-bottom: 2px solid #005f73; padding-bottom: 5px; display: inline-block; margin-bottom: 15px; color: #005f73; } .article-list { list-style-type: none; padding-left: 0; } .article-title { margin: 5px 0; font-weight: 600; } .article-date { margin: 0; font-size: 12px; color: #666666; } .article-list a, .contact-box a, .footer-links a { color: #0077aa; text-decoration: none; font-weight: 500; } .contact-number { margin-top: 10px; } .button-group { margin-top: 15px; } .btn-filled, .btn-outlined { padding: 10px 20px; border: none; cursor: pointer; font-weight: 600; border-radius: 4px; } .btn-filled { background-color: #0077aa; color: #ffffff; } .btn-outlined { background-color: transparent; color: #0077aa; border: 1px solid #0077aa; margin-left: 10px; } .footer-info { margin-top: 40px; font-size: 12px; text-align: center; padding-top: 20px; border-top: 1px solid #cccccc; color: #666666; } .footer-links { margin-top: 15px; } .footer-links a { margin: 0 10px; } ```
--- ### Footer design 6 Teal-themed footer with services, popular, useful links, and community sign-up columns A light teal gradient footer with a large heading, four card columns (Services, Popular, Useful Links, More), and a Community sign-up card with a styled button. Card hover effects add depth.

HTML code

```html Sample Footer ```

CSS code

```css body { margin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #f0f4f8; color: #2c3e50; } .footer { background: linear-gradient(to bottom right, #dff6f0, #f1faff); padding: 60px 20px; text-align: center; } .footer h2 { font-size: 28px; margin-bottom: 50px; color: #2c3e50; } .footer-sections { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; margin-bottom: 40px; } .footer-column h3 { color: #1baaa5; margin-bottom: 15px; font-size: 20px; border-bottom: 2px solid #1baaa5; display: inline-block; padding-bottom: 5px; } .footer-column ul { list-style: none; padding: 0; margin: 0; } .footer-column li { margin-bottom: 10px; font-size: 16px; color: #34495e; cursor: pointer; } .footer-signup button { background-color: #1baaa5; color: #ffffff; padding: 12px 24px; font-size: 16px; font-weight: 600; border: none; border-radius: 8px; cursor: pointer; } .box { background-color: #ffffff; padding: 20px; border-radius: 10px; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; } .box:hover { transform: translateY(-5px); box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1); } @media (max-width: 768px) { .footer-sections { flex-direction: column; gap: 30px; align-items: center; } } ```
--- ### Footer design 7 Teal-to-dark-blue gradient footer with logo, mission statement, and three link columns A bold teal-to-dark-blue gradient footer with a logo image, mission statement on the left, and three link columns (About Us, Resources, Quick Links) with hover animations. Includes a bottom copyright bar with Terms, Privacy, and Compliance links.

HTML code

```html Footer Sample ```

CSS code

```css body { margin: 0; font-family: 'Segoe UI', sans-serif; background-color: #f5f7fa; } .custom-footer { background: linear-gradient(135deg, #80d0c7, #13547a); color: #ffffff; padding: 40px 20px; } .footer-container { display: flex; justify-content: space-between; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; gap: 30px; } .footer-logo { flex: 2; min-width: 260px; } .footer-logo img { max-width: 160px; margin-bottom: 20px; } .mission-statement { font-size: 15px; line-height: 1.7; color: #fefefe; } .footer-links { flex: 3; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; } .footer-column { flex: 1; min-width: 180px; background-color: rgba(255, 255, 255, 0.05); padding: 20px; border-radius: 10px; transition: transform 0.3s ease, box-shadow 0.3s ease; } .footer-column:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); } .footer-column h4 { font-size: 16px; margin-bottom: 12px; color: #ffd166; } .footer-column ul { list-style: none; padding: 0; margin: 0; } .footer-column ul li a { color: #ffffff; text-decoration: none; font-size: 14px; transition: color 0.3s; } .footer-column ul li a:hover { color: #ffeebb; text-decoration: underline; } .footer-bottom { text-align: center; margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.3); padding-top: 15px; font-size: 14px; } .footer-bottom a { color: #ffffff; margin: 0 6px; text-decoration: none; } @media (max-width: 768px) { .footer-container { flex-direction: column; align-items: center; } .footer-links { flex-direction: column; } } ```
--- ### Footer design 8 Card-based footer with logo, services, offices, and resources columns, plus an address section A pastel gradient footer with four white card columns (logo and contact, Our Services, Offices, Resources) and a Visit Us address block with cards for multiple city offices. Includes hover animations on all cards.

HTML code

```html ```

CSS code

```css footer { background: linear-gradient(135deg, #fdfcfb, #e2d1c3, #a1c4fd); color: #2c3e50; padding: 50px; font-family: 'Segoe UI', sans-serif; } .footer-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; } .footer-card { background: #fff; border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); padding: 20px; width: 22%; transition: transform 0.3s ease, box-shadow 0.3s ease; } .footer-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); } .footer-logo img { max-width: 140px; margin-bottom: 15px; } .footer-logo a { color: #3498db; text-decoration: none; } .social-icons { margin-top: 15px; display: flex; gap: 15px; } .social-icons a { font-size: 18px; color: #3498db; transition: color 0.3s ease; } .footer-card h3 { font-size: 16px; font-weight: bold; margin-bottom: 12px; color: #2c3e50; } .footer-card ul { list-style: none; padding: 0; } .footer-card ul li a { color: #555; font-size: 14px; text-decoration: none; transition: color 0.3s ease; } .footer-card ul li a:hover { color: #1abc9c; } .address-block { display: flex; gap: 20px; flex-wrap: wrap; } .address-card { background: #fff; padding: 15px 20px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); width: 22%; min-width: 200px; } ```
--- ### Footer design 9 Light blue gradient footer with product description, quick links, office locations, and social icons A light blue gradient footer with four white card columns: a product description, quick links, office locations, and a contact section with email, phone, support availability, and social icons with circular hover effects.

HTML code

```html
```

CSS code

```css @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap'); body { font-family: 'Poppins', sans-serif; background-color: #f7f9fc; margin: 0; padding: 0; } footer { background: linear-gradient(135deg, #f2f6fb, #e3f2fd); color: #333; padding: 50px 30px; } .footer-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; max-width: 1200px; margin: 0 auto; } .footer-box { flex: 1 1 22%; background-color: #ffffff; padding: 20px; border-radius: 12px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06); transition: transform 0.3s, box-shadow 0.3s; } .footer-box:hover { transform: translateY(-5px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); } .footer-box h3, .footer-box h4 { margin-bottom: 15px; color: #1a237e; font-size: 18px; } .footer-box ul { list-style: none; padding: 0; } .footer-box ul li a { text-decoration: none; color: #1e88e5; transition: color 0.3s; } .social-icons { display: flex; gap: 12px; margin-top: 10px; } .social-icon { background-color: #e1ecf9; color: #1e88e5; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; } .social-icon:hover { background-color: #1e88e5; color: #ffffff; transform: scale(1.1); } @media (max-width: 768px) { .footer-container { flex-direction: column; align-items: center; } } ```
--- ### Footer design 10 Light green gradient footer with quick links including a login button, office addresses, and social icons A light cyan-to-green gradient footer with four columns: product description, quick links (including a styled Login button), office addresses, and a contact section with social icons. Suitable for knowledge bases that need a reader login link in the footer.

HTML code

```html
```

CSS code

```css footer { background: linear-gradient(135deg, #e0f7fa, #f1f8e9); color: #333; padding: 40px 40px; font-family: 'Poppins', sans-serif; } .footer-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; } .footer-box { flex: 1 1 22%; min-width: 220px; } .footer-box h4 { font-size: 16px; margin-bottom: 15px; font-weight: 600; color: #2e7d32; } .footer-box ul { list-style: none; padding: 0; } .footer-box ul li a { text-decoration: none; color: #0277bd; transition: color 0.3s, padding-left 0.3s; font-size: 14px; } .footer-box ul li a:hover { color: #01579b; padding-left: 8px; } .footer-box ul li a.login-link { background-color: #64b5f6; color: white; padding: 6px 14px; border-radius: 5px; font-weight: 500; display: inline-block; } .social-icons { display: flex; gap: 10px; margin-top: 10px; } .social-icon { background-color: #c8e6c9; color: #2e7d32; width: 38px; height: 38px; border-radius: 50%; display: flex; justify-content: center; align-items: center; transition: background 0.3s, transform 0.3s; } .social-icon:hover { background-color: #a5d6a7; transform: scale(1.1); } @media (max-width: 768px) { .footer-container { flex-direction: column; text-align: center; } } ```
--- ## Best practices - **Start from a template** - even if you plan to heavily customise the footer, starting from one of the provided templates is faster than writing from scratch and ensures a working baseline. - **Keep the footer lightweight** - avoid large images or heavy scripts in the footer. Footers load on every page, so performance matters. - **Use CSS variables for brand colours** - define your brand colours as CSS variables at the top of your CSS so you can update them in one place if your brand palette changes. - **Test in both light and dark mode** - footer backgrounds and text colours that look good in light mode may have contrast issues in dark mode. Always preview both. - **Check mobile responsiveness** - use `@media (max-width: 768px)` breakpoints to ensure the footer stacks cleanly on smaller screens.