Description
Section 1: Function Introduction
This package provides a unified configuration for the vertical spacing between the top navigation bar and the main content below. It includes height compensation rules for the fixed navigation bar, snapping margins between the navigation and content during scrolling, and segmentation distance parameters between different page modules. This ensures the navigation bar never obscures or excessively deviates from the content on any page.
Section 2: Use Cases
Suitable for multi-page websites with a global navigation bar, especially long scrolling pages and directory pages with anchor navigation. The configuration includes preset content offset values for three navigation bar heights (compact, standard, and wide).
Section 3: Deliverables
The ZIP package contains:
navbar_spacing.config (navigation bar spacing parameters)
height_offset_rules.txt (height compensation rules)
anchor_adjustments.xml (anchor navigation offset correction)
example_nav.html (navigation bar + content example file)







