Hello,
i'm creating a new theme based on Antimatter (Theme-Inheritance).
Now, while exploring and creating modules, I'm running into some problems:
- I'd like to create two columns, one of them with half of the width of the other one. Expressed in pure-grid: 8-24 and 16-24.
This code works für 8-24 8-24 8-24 (3 columns):
{% block content %}
<div class="pure-g">
{% for column in page.content|split('|||') %}
<div class="pure-u-md-8-24" style="padding: 0px 25px 0px 25px;">{{ column }}</div>
{% endfor %}
</div>
{% endblock %}
</div>
what can I do to make this possible? I tried do implement an if-else construction as seen here: https://stackoverflow.com/questions/7837482/twig-add-first-and-last-class, but it doesn't seem to work.
- As I started developing with Theme-Inheritance, there is no Dropdown-Menu findable. Enabling it in the antimatter.yaml configuration file doesn't work. How can I get it back?
Thank you!