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

Css question (theme quark)

Started by byache 5 years ago · 4 replies · 769 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 stuart young, 2 weeks ago
3 251 2 weeks ago
Themes & Styling · by Sebadamus, 3 weeks ago
5 317 3 weeks ago
Themes & Styling · by martynfoster735, 4 weeks ago
1 310 4 weeks ago
Themes & Styling · by Justin Young, 1 month ago
1 348 1 month ago
Themes & Styling · by Slebeig, 2 months ago
4 474 2 months ago