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

Last edited by Laurent Sittler Feb 08, 2021
Page history
This is an old version of this page. You can view the most recent version or browse the history.

header

Configure the Header Layout

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.
    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).

<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).

<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

<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