Using custom selectors

Avatar

By Stuart Marshall

updated 4 months ago

There are some elements where you will not be able to apply the required class names manually (or where you simply don't want to do it manually) and there isn't already a child stack that will automate the process for you. For these situations Magic Mouse stack offers the ability to add up to 3 custom selectors that will trigger some JavaScript to automatically apply the required classes to all elements matching the provided selectors.

The following video shows how to use the browser inspector tools to identify the appropriate elements / selectors.


Note: If there are elements that you are regularly needing to use this approach for then please let me know and I can consider adding in a dedicated child stack for it.

Did this answer your question?