Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

How to customize twenty?

Started by Muut Archive 11 years ago · 3 replies · 242 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 1345 9 years ago
Archive · by Muut Archive, 9 years ago
2 933 9 years ago
Archive · by Muut Archive, 9 years ago
2 4060 9 years ago
Archive · by Muut Archive, 9 years ago
1 2945 9 years ago
Archive · by Muut Archive, 9 years ago
3 1117 9 years ago