Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Themes & Styling

Inheritance layout issue in Quark Theme

Started by Zwitterio 8 years ago · 2 replies · 556 views
8 years ago

Hi everyone,
I like Grav, but I have an issue with Quark Theme. I tried inheriting with both with dev tools and without, but in every single case I mostly meet this problems:

  • the navbar gray and not transparent;
  • the body with very large column on the left as on the right.

So I think it's a problem with spectre, but I didn't touch anything, just follow instructions for inheritance on the official docs!
I'm searching for a solutions from months, so I'm asking you now, because without inheritance is hard to mantain the code.
Thanks a lot for your work and support.
.
Zwitterio

last edited 08/29/18 by Zwitterio
8 years ago

To fix to your problem, copy the contents of user/themes/quark/quark.yaml to user/themes/[childtheme]/[childtheme].yaml and edit from there.

The problem is that inheritance in Grav isn't true inheritance. When you create the child theme, the child theme's config file clobbers the parent theme's config file instead of merging with it.

I have a PR pending to remedy this.

👍 3
8 years ago

It was so simple and so effective!
Thanks a lot: now it will be easier to mantain my site and still doing updates

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by Pedro M, 2 months ago
4 193 2 months ago
Themes & Styling · by Ian, 2 months ago
3 91 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 451 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 45 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 125 3 months ago