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

What is Framer? Join the Community
Return to index
Sahil Khoja
Posted Nov 09 - Read on Facebook

What's the best way to target a layer in the Navbar? I'm trying to make the selected button's opacity 0.5 so you know that the screen showing correlates with that button. My layers look like this: tasks->NavBottom->Settings, Tasks, Home and I'm trying to target the 'Tasks' button.

Thanks!

6 Comments

Jonas Treub

It depends how you setup your project. Do you use importing from Sketch?

Sahil Khoja

Yup!

Jonas Treub

You can use dot notation. If you name the import sketch you can get to the layer using sketch.layerName

Jonas Treub

Autocomplete should help you out.

Sahil Khoja

Yeah I've tried that using sketch.Tasks, but when I hover over Tasks nothing is highlighted in the left pane

Jonas Treub

If you share your project we might be able to help you out.

Read the entire post on Facebook