Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

How to customize twenty?

Started by Muut Archive 11 years ago · 3 replies · 333 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 Deleted User, 9 years ago
0 2590 9 years ago
Archive · by Muut Archive, 9 years ago
2 1705 9 years ago
Archive · by Muut Archive, 9 years ago
2 4998 9 years ago
Archive · by Muut Archive, 9 years ago
1 3828 9 years ago
Archive · by Muut Archive, 9 years ago
3 1811 9 years ago