Troubleshooting¶
Common issues and their solutions.
Theme Not Loading¶
Symptom: Page renders with no styling.
Causes:
neoabsis not set as the theme name- CSS file path is incorrect
- Browser cache is stale
Fix:
# mkdocs.yml
theme:
name: neoabs
Then:
mkdocs build --clean
mkdocs serve
Hard-refresh the browser (Ctrl+Shift+R / Cmd+Shift+R).
Both Theme Icons Visible¶
Symptom: The dark/light mode toggle shows both sun and moon icons simultaneously.
Fix: This is caused by a stale cache. Hard-refresh the browser. The theme includes an inline early-apply script in <head> that prevents this by reading localStorage before CSS loads.
Glass Effects Not Working¶
Symptom: Panels appear solid instead of translucent.
Causes:
- Browser does not support
backdrop-filter - Another CSS rule overrides the glass background
Fix:
- Check browser support (Chrome 76+, Edge 79+, Safari 9+, Firefox 103+)
- Inspect the element in DevTools and verify
.neoabs-glassor.neoabs-cardclasses are applied - Check for conflicting
backgroundrules in custom CSS
Search Returns No Results¶
Symptom: Typing in search shows "No results found" for valid content.
Causes:
searchplugin is not in the plugins list- Search index not regenerated
Fix:
plugins:
- search
- neoabs
mkdocs build --clean
mkdocs serve
Search Results Link to 404¶
Symptom: Clicking a search result opens a 404 page.
Cause: Search result URLs are relative and resolve incorrectly on subpages.
Fix: Ensure you are using the latest version of the theme. This was fixed in the search result URL resolution to use absolute paths.
Navigation Not Collapsing¶
Symptom: Sidebar sections don't expand/collapse.
Fix: Ensure the JavaScript file is loaded:
<script src="assets/javascripts/neoabs.js"></script>
Check the browser console for errors.
CSS Build Fails¶
Symptom: npm run build errors.
Fix:
rm -rf node_modules
npm install
npm run build
Python Import Errors¶
Symptom: ModuleNotFoundError: No module named 'neoabs'
Fix:
pip install -e .
Fonts Not Loading¶
Symptom: Text appears in system fonts instead of Space Grotesk / Space Mono.
Causes:
- No internet connection (fonts are loaded from Google Fonts)
- CSP blocking external stylesheets
Fix:
- Check internet connectivity
- If self-hosting fonts, override the
@font-facerules in a custom CSS file and add it viaextra_css
Reduced Motion Not Working¶
Symptom: Animations play despite prefers-reduced-motion: reduce being set.
Fix: The theme respects this preference automatically. If animations still play, another CSS rule may be overriding the !important declarations. Check for conflicting animation rules.