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 · 747 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 Sebadamus, 7 days ago
5 151 21 hours ago
Themes & Styling · by martynfoster735, 1 week ago
1 193 1 week ago
Themes & Styling · by Justin Young, 3 weeks ago
1 241 3 weeks ago
Themes & Styling · by Slebeig, 1 month ago
4 376 1 month ago
Themes & Styling · by Pedro M, 4 months ago
4 746 3 months ago