Find element by id in builder

Good afternoon @timmse

Faced a small problem. The bottom line is this:

this is part of the code

if ( $element_id == 'chuzdy' && is_user_logged_in() ) {

interested $element_id == 'chuzdy'

I did not comment on the location of this ID, it was a problem to remember right away.
How to find in builder?

Two places.

It’s part of the original ID that Bricks gives the element. Also, it’s the data-id attribute given to elements in the builder if you inspect with dev tools.

SCR-20230330-kzyz

1 Like

You do not understand the essence of the issue apparently.
What you are showing is that you know where that DIV is.

The question is, there is a code, there is an ID, so where, in what template is it located?

I forgot to make a comment where my code works, the code contains the DIV ID, how can I quickly find it in the builder?

@zippa71 Did you find a way to find the element, when you know the id? I would love to do the same thing. I must have placed custom CSS on an element in the wrong place, and I cannot find in bricks where it is… but I can find the id in chrome dev tools.