Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Ghost Fluent UI Ghost Fluent UI
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Ghost Themes
  • Ghost Fluent UIGhost Fluent UI
  • Wiki
  • header

header · Changes

Page history
Migrate README project content into wiki authored Jan 08, 2021 by Laurent Sittler's avatar Laurent Sittler
Hide whitespace changes
Inline Side-by-side
Showing with 42 additions and 1 deletion
+42 -1
  • header.md header.md +42 -1
  • No files found.
header.md
View page @ a6a877ad
# Configure the Header Layout # Configure the Header Layout
\ No newline at end of file
The supported header layouts:
* **standard**: by default, a layout with the full size site logo and content split onto 2 lines
* **extended**: the largest layout with content split into 2 content areas with site logo, site title, and an optional background image separate from the other contents below. <br />
The Ghost `Publication cover` will be used as the optional background image.
In accordance with the main color of your background image, you should define the color of the title manually, regardless of the selected theme (dark/light).
```html
<style type="text/css">
@media (min-width: 639px) {
#siteHeader:not(.shyHeader) .mainHeader .titleAndnavSiteWrapper .siteTitleSubcell a.title {
color: #CDCECF;
}
}
</style>
```
In the case of not extended layout, the navivation and actions should be changed manually to be visible regardless of the selected theme (dark/light).
```html
<style type="text/css">
@media (min-width: 639px) {
#siteHeader:not(.shyHeader) .mainHeader .titleAndnavSiteWrapper .siteTitleSubcell a.title,
#siteHeader:not(.shyHeader) .ms-HorizontalNavItems .nav li a,
#siteHeader:not(.shyHeader) .actionsSubcell a {
color: #CDCECF;
}
}
</style>
```
## Example
```html
<script type="text/javascript">
var fluent_headerLayout = 'extended';
</script>
```
Use the `extended` header layout.
Clone repository

Home

Theme

  • Header
  • Footer

Search Engine

  • GhostHunder
  • Elasticsearch

Apps Launcher

Templates

  • Posts
  • Pages
  • Tags
  • Featured
  • Events

Blog Comments

  • Isso