Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Should we use `{{url("theme://"}}` or {{theme_url}}
· 10 years ago
thank you
-
Should we use `{{url("theme://"}}` or {{theme_url}}
· 10 years ago
theme_url is a shortcut to url("theme://"), so you can use both as you prefer.
-
Should we use `{{url("theme://"}}` or {{theme_url}}
· 10 years ago
Hi, I was wondering is there a difference between: <img src="{{ url("theme://" ~ 'statics/img/design/travel.jpg') }}" > and <img src="{{ theme_url }}/statics/img/design/travel.jpg" > They
-
Targeting a specific page or template with "if" statement
· 10 years ago
I tried every combination I could think of but left off the ' ' part. That did the trick! Thank you!!!
-
Targeting a specific page or template with "if" statement
· 10 years ago
Not sure about the '' but I guess you can try {% if page.template == 'blog' %} do the things {% endif %}
-
Targeting a specific page or template with "if" statement
· 10 years ago
I'm trying to target different page templates or page types to do a few different things. I guess I'm not writing my twig code properly, though. One template is the main blog page (that shows the summ
-
Specify individual children in collection?
· 10 years ago
.wrapper.highlight2 .child:nth-of-type(2) { position: absolute; etc…} .wrapper.highlight3 .child:nth-of-type(3) { position: absolute; etc…} .wrapper.highlight4 .child:nth-of-type(4) { position: absolu
-
Specify individual children in collection?
· 10 years ago
The issue with my layout is I actually have it in this format <div class="boxA"> <div class="style1"> <img src="image1.jpg"> <a href="/path/to/first/item/" </
-
Specify individual children in collection?
· 10 years ago
Maybe the best way would be to specify a variable in the header with options like 'size1, size2, size3' and then your code would be : {% for child in collection|sort %} <div class="{{ child.h
-
Specify individual children in collection?
· 10 years ago
Your solution is one step better even. Although I'd have to change a few things in the CSS. Cheers.