Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Css question (theme quark)

Started by byache 6 years ago · 4 replies · 813 views
6 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 ?

6 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.
6 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...

6 years ago

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

6 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 FrViPofm, 18 hours ago
1 31 5 hours ago
Themes & Styling · by stuart young, 1 month ago
3 480 1 month ago
Themes & Styling · by Sebadamus, 2 months ago
5 481 2 months ago
Themes & Styling · by martynfoster735, 2 months ago
1 460 2 months ago
Themes & Styling · by Justin Young, 2 months ago
1 490 2 months ago