Skip to main content

Questions tagged [position]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
16k 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. ...
Edwin Cornelisse's user avatar
3 votes
1 answer
687 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.
Adrian's user avatar
  • 437
1 vote
1 answer
104 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 ...
Sander Van Keer's user avatar
2 votes
1 answer
319 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 ...
Nick Holzthum's user avatar
0 votes
1 answer
61 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 ...
phaetons's user avatar
  • 705
2 votes
1 answer
641 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 ...
Jonathan Schofield's user avatar
1 vote
1 answer
136 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 ...
Mark Bowen's user avatar
4 votes
1 answer
447 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 ...
Seán O'Grady's user avatar