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.

As of 22 Nov 2025, the Markdown editor has been upgraded from v1.4.10 to v3.2.2. The toolbar, layout, icons, and editor structure remain unchanged.

How to hide footer in mobile view

Prev Next

Custom footers with multiple columns, links, and branding elements are designed for wide desktop screens. On narrow mobile screens, the same footer can appear cramped, overflow its container, or take up a disproportionate amount of space, all of which detracts from the reading experience. Hiding the footer on mobile lets you keep a rich desktop footer while presenting a clean, uncluttered layout to readers on smaller screens.

NOTE

This applies to custom footers only. It has no effect on the default Document360 footer. For information on setting up a custom footer, read the article on Custom footer.


When to use this

Use this customization when you want to:

  • Prevent a complex, multi-column custom footer from appearing broken or cramped on mobile screens.
  • Improve the mobile reading experience by removing footer content that is not useful or accessible on small screens.
  • Apply a responsive layout where the footer is visible on desktop but suppressed on mobile.

Before you begin

  • You need access to Settings (

    ) > Knowledge base site > Site customization > Custom CSS & JavaScript in the Knowledge base portal.
  • A custom footer must already be configured on your knowledge base site. This CSS hides the footer on mobile, it does not create one.

How to hide the footer in mobile view

  1. Navigate to Settings (

    ) > Knowledge base site > Site customization > Custom CSS & JavaScript in the Knowledge base portal.

    Custom CSS and JavaScript settings panel in the Document360 Knowledge base portal

  2. From the left navigation pane, select the CSS tab and paste the following snippet.

Hides the footer on screens up to 767px wide (smartphones and smaller tablets).

@media only screen and (max-width: 767px) {
    site-footer-section {
        display: none;
    }
}
  1. Click Save at the top right.

    CSS tab showing the mobile footer hide snippet saved in the Custom CSS and JavaScript panel


Outcome

The footer is hidden on mobile screens and continues to display on desktop screens as usual.

Before and after comparison showing the knowledge base site footer hidden on mobile after applying the CSS


Best practices

  • Adjust the breakpoint to match your layout if needed. If your custom footer starts looking problematic at a wider or narrower width than the default, change the max-width value in the snippet. For example, use max-width: 1024px to also hide the footer on tablets.
  • Test on a real device after saving. Browser developer tools provide a reasonable mobile preview, but testing on an actual smartphone confirms the footer disappears at the right breakpoint and the page layout remains correct.
  • Consider what you are hiding. If your custom footer contains important links, such as contact information, legal notices, or support links, ensure these are accessible to mobile readers through other means, such as the site header or article navigation.
  • To revert, delete the snippet. Navigate back to the CSS tab in Custom CSS & JavaScript, remove the snippet, and click Save. The footer reappears on mobile immediately.