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 →

How to customize twenty?

Started by Muut Archive 11 years ago · 3 replies · 379 views
11 years ago

Is customization only in antimatter build in? How can I customize twenty the best way?

11 years ago

Maybe you would like to add a custom stylesheet like you can do antimatter, is that correct? To do that, just inherit the theme, as @paulhibbitts suggested, then add your custom stylesheet in the stylesheets block, as follows:

{% block stylesheets %}
[...]
{% do assets.addCss('theme://css/cutom.css') %}
{% endblock %}

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 673 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago