Pages & navigation
Add, edit, reorder and delete website pages. See how shared navigation and partials connect them.
Create and manage pages in the private Studio draft, then check their links in preview. Shared navigation lives in a partial, so a change can affect several draft pages. Publish when those pages and their assets are ready for visitors.
Creating pages
With a configured built-in AI provider, create pages through Chat or a guided action. You can also author pages through Studio MCP using an external client.
Through conversation - Tell the AI "Add a team page" or "Create a services page with our three packages." VoxelSite generates the page with content, styling, and navigation entry.
Through an action - Open Page in Chat for a guided flow to add or edit a page.
Editing pages
There are two ways to edit pages:
Through conversation - Choose a page in Chat, then describe what you want to change:
- "Add a testimonials section"
- "Replace the hero image with a video background"
- "Rewrite the about section to focus on our 20-year history"
Through the visual editor - Click the Edit button to activate the click-and-edit overlay. Select any element to edit text inline, swap images, or adjust Tailwind styles with a live preview. Applied changes save to the PHP source files.
Review the changed-file list and preview after an edit. Shared styles and partials can affect other pages.
Shared partials
VoxelSite uses PHP partials (_partials/) for elements shared across all pages:
| Partial | Content |
|---|---|
header.php |
DOCTYPE through opening <main>, including metadata, fonts and stylesheets |
nav.php |
Main navigation with mobile menu |
footer.php |
Footer content, scripts, closing tags |
schema.php |
SEO structured data (Schema.org JSON-LD) |
When you change the navigation or footer, VoxelSite updates the partial file. Pages that include that partial inherit the change. Check the affected pages in preview.
Navigation
Page requests can update the navigation partial. Check its labels, links and order after a change. You can also:
- Reorder pages - Use the Move action in the Site workspace to change navigation order
- Move pages - Change the parent and navigation position together with Site → Move in VoxelSite 1.32.0 or later. Site updates supported references and refuses unresolved changes before writing
- Hide pages - Remove a page from navigation while keeping it accessible by URL
- Rename nav labels - The navigation label can differ from the page title
Mobile navigation
Generation instructions include a navigation pattern for smaller screens. Built-in generation chooses from several patterns - hamburger toggle, full-screen overlay, slide-in panel, bottom tab bar - based on your site's personality and page count.
VoxelSite includes the following checks for generated mobile menus:
- Structural correction - the engine moves
#mobile-menuoutside<header>if the AI nests it inside, sincebackdrop-filteron headers traps fixed-position children - Close button injection - if the AI forgets a close button, the engine adds one automatically
- Padding safety net - at page load, the shipped
navigation.jsmeasures the header height and applies matching top padding to the mobile menu, preventing links from hiding behind the sticky header - Runtime z-index check - the script detects some layering conflicts and adjusts the toggle position in the stack
- Icon hydration resilience - toggle icons are queried by ID at the moment of use, not cached at page load, so they survive the icon resolver replacing
<i>placeholders with<svg>elements - CSS specificity safety net - the engine injects
.icon.hidden { display: none }to prevent icon display rules from overriding Tailwind's.hiddenutility - Auto-close on viewport widen - if the mobile menu is open and the viewport widens past the breakpoint where the desktop nav appears, the menu closes automatically to prevent a stuck overlay after device rotation
Animated hamburger
The toggle button uses an animated hamburger icon that morphs into an X when the menu opens. The AI picks a style that fits the site's personality:
| Style | Description | Example uses |
|---|---|---|
| Classic | Three equal bars | Business, corporate, universal |
| Minimal | Two clean bars | Editorial, studio, minimalist |
| Asymmetric | Three bars with descending widths | Creative, portfolio, boutique |
| Refined | Three bars, middle one shorter and centered | Luxury, fashion, architecture |
The animation runs at 300ms with an expo-out easing curve. The hamburger uses currentColor, so it automatically matches whatever text color the nav uses.
The navigation.js script is included with every generated site and handles open/close toggling, animated hamburger morphing, body scroll locking, and the safety checks above.
Homepage
The homepage is index.php. Visitors see it at your domain root. Site keeps its URL fixed and prevents its deletion.
Deleting pages
Delete a page from the Site workspace. Site creates a safety snapshot before removing the file and updating supported references. Unresolved references can block deletion.
Inspect the operation’s retained history or restore its draft safety archive from Designs → History. Review the affected files before restoring; snapshot domains determine whether the private draft or published website changes.
Found a mistake in these instructions? Open an issue.
Download VoxelSite