Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Antimatter - Header image on standard pages
· 11 years ago
If you want to have the same image in a header banner, I suggest modifying the (or creating a new) page template. The default.html.twig is the standard one, but you could just copy that and create a
-
Antimatter - Header image on standard pages
· 11 years ago
How do you add a header image to a standard page? Do I have to edit the base.html.twig file? I'd prefer to use similar methods seen in the blog and one-page Antimatter skeletons, but I can't get it wo
-
Materialize dropdown
· 11 years ago
Thank you!
-
Materialize dropdown
· 11 years ago
What i would do is when you 'include' this navigation menu twig from your template, i would pass in a variable like this: {% include 'partials/navigation.html.twig' with {'menu_id':'dropdown1'} %} The
-
Materialize dropdown
· 11 years ago
Sorry for my complicated question! How would you code the id in the "Dropdown-Structure" and the data-activates in the "Dropdown-Trigger" if you had multiple dropdowns?
-
Materialize dropdown
· 11 years ago
I'm not sure i'm following. The dropdowns will be dynamic because they are built from the page structure. If you mean visually, that's totally up the CSS you use to render the dropdown.
-
Materialize dropdown
· 11 years ago
Thank you but what would you do if you had multiple dropdowns? Could you somehow make the dropdown-part dynamic, too?
-
Materialize dropdown
· 11 years ago
You would just have to edit the partials/navigation.html.twig to add the bits and pieces needed for this dropdown structure.
-
Materialize dropdown
· 11 years ago
No but I will submit an issue. Yes but I think the Materialize dropdown is different and I wonder how to deal with the "Dropdown Structure" and the "Dropdown Trigger": --- html <p><!-- Dropdo
-
Materialize dropdown
· 11 years ago
Are you running the materialize theme? If so, perhaps you can submit an issue on that theme project on GitHub? Have you looked at how the dropdown is implmemented in Antimatter theme? It's toggled