Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Inheriting a Theme does not quite work correctly

first-time help-wanted theme

Solved by themetman View solution

Started by themetman 3 weeks ago · 1 replies · 192 views
3 weeks ago

I am new to Grav CMS, I have installed the bootstrap4 theme, and created an inherited theme as the Docs say.

I have created a folder /usr/themes/fg-bootstrap4 and in that folder I have a file fg-bootstrap4.yaml

streams:
schemes:
  theme:
    type: ReadOnlyStream
    prefixes:
      '':
        - user/themes/fg-bootstrap4
        - user/themes/bootstrap4
The Bootstrap4 Theme Yaml file is this:

navbar_style: navbar-light
navbar_bgcolor: '#ffffff'

dropdown:
 enabled: false
However the Inherited Theme header is not correctly rendered. It should have the website name and menu nicely across the top which it is in the Bootstrap4 Theme, but the website name is to the left with a button icon to the right, and the menu as a bulleted list below in the Inherited Theme. Not very nice.

What am I missing? Should I copy something else, or add something to the site yaml file.

I cannot upload a screenshot of the difference, I am a new member.

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by MarkP, 2 weeks ago
3 167 1 week ago
Themes & Styling · by TomW, 2 weeks ago
0 98 2 weeks ago
Themes & Styling · by AH, 1 month ago
1 313 3 weeks ago
Themes & Styling · by Bruno, 4 years ago
6 1510 3 weeks ago
Themes & Styling · by TomW, 1 month ago
2 329 3 weeks ago