Theme: Medium
I searched forum, many topics on sidebar. I just want to activate a simple sidebar.
There is no enable sidebar in the configuration or pages.
Support
you will need to include partials/sidebar.html.twig in your base.html.twig, like so:
TWIG
{% block sidebar %}
{% include 'partials/sidebar.html.twig' %}
{% endblock %}
The solution is going to depend which theme you are using. @hoernerfranz's answer may be correct.
yes, I think so, sidebar.html.twig is in the OP's theme's (Medium) partials folder, but it is not included in any other template, so just including it should do the trick.
My apologies, I missed the statement of theme at the top of OP's initial question.
Thank you
I am using the default theme.
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 1 | 17 | 1 hour ago | ||
| 3 | 101 | 10 hours ago | ||
| 2 | 99 | 1 day ago | ||
| 1 | 66 | 1 day ago | ||
| 2 | 101 | 6 days ago |