This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Leeves Chou
Posted Jan 01 - Read on Facebook

Hi guys, I'm a new framer .I create multiple layers and I'm failed to center one of them. How can I do this?or use loop function to center all layers ?Thx

7 Comments

이정익

I recommend to use array. It is very useful. http://share.framerjs.com/wouvtco6ytx1/

Andrew Nalband

You can center them all like so - coffeescript cares about whitespace

Andrew Nalband

if you only want to center one of them you can do this

Fran Pérez

Like this will also work :)

Andrew Nalband

Like this will also work ;)

Andrew Nalband

This will work too ;)

Andreas Wahlström

I think this is a common issue with framer. I always found it a bit awkward to create additional hierarchy or temporary arrays just so you could target a layer. Here's how you could do it similar to jQuery instead: https://github.com/awt2542/Find-for-Framer

Read the entire post on Facebook