An Otter Wiki
Attachments
History
Blame
View Source
Changelog
Documentation
Toggle dark mode
Login
Home
A - Z
Menu
Installation
Configuration
Upgrade
User Guide
FAQ
Customization
Development
Examples
An Otter Wiki
Customization
ea5594
Commit
ea5594
2026-01-16 01:29:29
Freddy Heppell
: Add a few examples of data atts
customization.md
..
@@ 123,9 123,9 @@
These are some examples of potential style customisations:
-
#### Target a Specific Page
+
### Target a Specific Page
-
Hides the sidebar on the homepage.
+
Hides the sidebar on the homepage only
```css
body[data-page-path="home"] .extra-nav {
@@ 133,7 133,11 @@
}
```
+
<<<<<<< HEAD
#### Style all pages in a category
+
=======
+
### Style all pages in a category
+
>>>>>>> 34296ed (Add a few examples of data atts)
Applies a different colour to pages in _My Category_.
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9