Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Change Antimatter open publishing menu link colors

first-time theme

Started by Rob 8 years ago · 1 replies · 935 views
8 years ago

Hi,
I'm quite new to Grav, but have reasonable experience with CSS/PHP. However, I can't seem to find where the colors for the menu items are defined within the .css or .twig files. Right now it's the standard blue, and when hovered a bit darker...
I hope someone can help me and point me in the right direction 🙂

ps. website is www.robberends.com

8 years ago

Hi @berendsrob, one way to do this is to use a custom.css in your theme's css folder, and use something like this to change the color there:

CSS
#header #navbar ul.navigation li a {
    color: #FFFFFF;
}

More info about custom CSS at:
https://learn.getgrav.org/themes/customization#custom-css

BTW, my favorite tool these day's to find out the needed CSS is the "Developer Tools" under the "View -> Developer" menu in Google Chrome (which likely you already know about but just in case🙂)

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by MarkP, 2 weeks ago
3 193 2 weeks ago
Themes & Styling · by TomW, 2 weeks ago
0 111 2 weeks ago
Themes & Styling · by themetman, 3 weeks ago
1 206 3 weeks ago
Themes & Styling · by AH, 1 month ago
1 324 3 weeks ago
Themes & Styling · by Bruno, 4 years ago
6 1523 3 weeks ago