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.

Archive

Background color

Started by Muut Archive 12 years ago · 3 replies · 693 views
12 years ago

I managed to change the colour of the links but I am struggling with changing the background colour of the antimatter theme. I just need it to be some nuances darker. Any idea how this could be done. Very likely I am missing something.

12 years ago

I use sass to compile the css and do not use one of the skeletons.

12 years ago

adding background in _core.scss worked for me.

CSS

// Global body styling
#body {
    @extend .default-animation;
    @extend .padding-horiz;

    background: $page-bg;
    padding-top: $header-height + $padding-vert;
    padding-bottom: $footer-height + $padding-vert + 2rem;
}
---
12 years ago

Thanks! I have merged your pull request.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1278 9 years ago
Archive · by Muut Archive, 9 years ago
2 886 9 years ago
Archive · by Muut Archive, 9 years ago
2 4015 9 years ago
Archive · by Muut Archive, 9 years ago
1 2891 9 years ago
Archive · by Muut Archive, 9 years ago
3 1075 9 years ago