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

Css question (theme quark)

Started by byache 5 years ago · 4 replies · 653 views
5 years ago

Hello,
I'm making a grav-site with the quark theme.
I would like to know how I can custom background color in the menus that fold/unfold in the navbar ?

5 years ago

@pzul, It depends on how fluent you are with scss...

Plain css:

  • Create an inherited theme.
    If you don't all changes will be lost when Quark gets upgraded.
  • Create file '/user/themes/mytheme/css/custom.css' and add you css to the file.
    This file overrides the same file provided by theme Quark.

Using scss:

  • Create an inherited theme
    If you don't all changes will be lost when Quark gets upgraded.
  • See the documentation on using scss.
5 years ago

I don't know scss.
The custom.css file is created, but impossible to find what kind of class or id to use in order to refer to these unfold part of the navbar...
I only succeeded to change the entire navbar background color...

5 years ago

@pzul, Have you been able to make some progress?

5 years ago

No progress... I'll try after installing an IDE... It's not a prioriy for me but if a little frustrating ;-)

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by Pedro M, 2 months ago
4 198 2 months ago
Themes & Styling · by Ian, 2 months ago
3 94 2 months ago
Themes & Styling · by Norbert, 2 years ago
11 455 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 48 3 months ago
Themes & Styling · by Sebadamus, 4 months ago
5 128 3 months ago