05 AJAX navigation & pages - pimmey/axala-docs GitHub Wiki

This theme relies on AJAX for navigation. This means you are loading only pieces of pages and not an entire HTML page on page change. By default, on page load and history change (pop state change), the theme will handle the page loading.

Styling pages

Each page will automatically acquire a proper body class, e.g. Home page will have page-home class or a news article titled Bicycle will have a page-news-bicycle class. This will allow you to style each page individually or use CSS regex for common elements. Example, for all news article pages, you could use the following selector:

[class*='page-news-'] { ... }