Fixed navigator removal

Hi guys

I’m using an inherited theme that I’m customising. When I used the admin tool to to disable the fixed header it doesnt seem to work.

Is there another way I can do this?

Thanks very much.

@daredevil, If property header-fixed is set correctly, it works fine…

Did you set the property in Admin on you inherited theme?

Hi there

Yes, it doesn’t seem to take effect.

@daredevil, Would you mind sharing:

  • The name of the base theme you are using, eg. Quark.
  • The contents of ‘user/config/themes/mytheme.yaml’, where ‘mytheme’ is the name of your inheriting theme.
  • The contents of ‘user/themes/mytheme/mytheme.yaml’
  • From ‘user/config/system.yaml’, the following setting:
    pages:
      theme: mytheme
    
  • From the generated HTML, the classes of <body>

Sure

I’m using quark as a base

---
streams:
  schemes:
    theme:
      type: ReadOnlyStream
      prefixes:
        '': [user/themes/streamcapital-inherit, user/themes/quark]
production-mode: true
grid-size: grid-lg
header-fixed: false
header-animated: true
header-dark: true
header-transparent: true
sticky-footer: true
blog-page: /blog
spectre:
  exp: false
  icons: false
custom_logo:
  user/themes/streamcapital-inherit/images/logo/web-bw-logo-color-3.png:
    name: web-bw-logo-color-3.png
    type: image/png
    size: 18925
    path: user/themes/streamcapital-inherit/images/logo/web-bw-logo-color-3.png
custom_logo_mobile:
  user/themes/streamcapital-inherit/images/logo/web-bw-logo-color-3.png:
    name: web-bw-logo-color-3.png
    type: image/png
    size: 18925
    path: user/themes/streamcapital-inherit/images/logo/web-bw-logo-color-3.png
---

user/themes/mytheme/mytheme.yaml

---
streams:
 schemes:
   theme:
     type: ReadOnlyStream
     prefixes:
       '':
         - user/themes/streamcapital-inherit
         - user/themes/quark
---

user/config/system.yaml

---
pages:
  theme: streamcapital-inherit
  order:
    by: default
    dir: asc
---

These are the generated classes of the body

The first code snippet above is ‘user/config/themes/mytheme.yaml’

The other two I’ve added a label at the bottom of each

class="modular header-image fullwidth title-h1h2 header-transparent header-fixed header-animated  header-dark sticky-footer"

@daredevil, I cannot reproduce your issue when following the following steps:

  • Create inherited theme using CLI from Quark
  • Open config of ‘Mytheme’ in Admin and set ‘Fixed header’ to ‘disabled’ and save
  • Open website and navigation bar is no longer fixed