Questions tagged [position]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
5k views

How do I target the second item in an array with Twig?

I would like to select the second position in the array below. The problem is that this number is automatically changed. So I try to do this with .index function from Twig but I can not figure it out. ...
3
votes
1answer
580 views

Missing Position Field Type in Matrix (Craft 3)

Anyone know how to get the Position field type to show up in Craft 3 (RC)? I have a Matrix field, and an Asset/Image field within that, and I'm trying to add a Position field to it.
1
vote
1answer
56 views

Change position of entry types in a structure

I was wondering if there's a way to change the position of elements in an entry type structure. I want to change the positions of the elements when a user logs in, so I'll write it in a plugin. Any ...
2
votes
1answer
305 views

How to use Position Select in Matrix blocks?

How does one use position selects to float an element in Craft CMS template? Say I want to allow an author to center or float a quote block to the right or left using a position select. How would I do ...
0
votes
1answer
52 views

Navigation position in Control Panel Craft CMS 2.5

The new position of the Control Panel navigation on the left side in Craft CMS 2.5 needs so much space and looks kind of wrong to me. Is there any way to position it on the top like in pre 2.5 ...
2
votes
1answer
552 views

How does one achieve drop-left or drop-right image position?

How is one to achieve the layout visualised by Craft's drop-left and drop-right icons? I feel dumb asking but I don't know of any way to have a floated image stick to the bottom of its sibling text ...
1
vote
1answer
129 views

Unable to output position select value

Please someone tell me where I'm going wrong with this. I have a Matrix field called Page Builder (pageBuilder) and have different matrix blocks for outputting information in different ways. This ...
4
votes
1answer
432 views

How do I select a default in the Position Select field?

Just getting around to adding advanced layout features to our site, when I say advanced I just mean floated images left & right. The problem I seem to have though is that left is always the ...