Find where classes are used

Before changing attributes of a custom class, I’d like to know where else the class is used. I designed the site I’m working on years ago and my client makes changes after I have forgotten exactly what custom classes I’ve created and where they’re used. Now, I’ve been digging through the rest of the site to see what I have done previously. But in twiddling padding and margins, I see other parts of the site changing as well (thank the Gods for the undo command). To avoid messing up the rest of the site, I end up creating new custom classes for mundane changes. Now I have a mess of custom classes that don’t have meaning.

My question:
Is there a way to see all instances on my site where a particular class is used?

Check ‘Highlight class on canvas’

1 Like

Thanks Eldar,
It’s a little clunky, but way better than not having the feature!!

Interested to know how it’s clunky? What could be better? :grinning:

I’ll get back to you about this when I finish my site updates.

1 Like

Hi Norm,

Thanks for asking and taking the time to listen.

What I mean by a “little clunky” comes from my experience in desktop publishing using PageMaker, Quark Xpress, and InDesign. Those programs offered a way to look for assets used in a document (fonts, styles, images, etc.) and present them in a new window as a clickable list showing where an asset is being used throughout the document. If I’m working on a multi-page document, I can see where an asset is being used anywhere in the document at a glance.

I wish I had that convenience in Blocs. Even though the “Highlight class on canvas” is super helpful, it only shows where a class is used on the currently active page and not throughout the website. I have about 30 pages on the current website I’m working on and must check each page individually to see where/if the class of interest is used. With that many pages over time, I forget which class is used for what. For practicality and fear of inadvertently changing something on another page, I create duplicate classes, which negates their usefulness in making global style changes.

Implementing this would be a HUGE and beneficial feature!

I’m available to discuss this further if you like.