Question: I can see blocks on pages, their classes and structure and guess where they are added and what their name is - what is the best way to do this?

Is this what path hints is made for? Is there any other way even if it requires familiarity?

Answer: 
Magento has a highlight mechanism in **System Configuration** to find the `template path` and also show you the `block name`

**To turn on template path hints in Magento:**

1- Log into the magento back-end admin

2- Go to System -> Configuration in the main menu

3- Go to Developer on the bottom left under ADVANCED

4- Switch to the store view on the top left to your current website or store view.

5- Under the Debug tab of the same Developer config page you will see a new option appear that will allow you to turn on/off template path hints.

*Remember to clear your cache.*

[![enter image description here](https://i.stack.imgur.com/ZwrqW.png)](https://i.stack.imgur.com/ZwrqW.png)

**Using template path hints to see if Sweet Tooth is integrated properly**

[![enter image description here](https://i.stack.imgur.com/TD7Qs.png)](https://i.stack.imgur.com/TD7Qs.png)

**To remove a block from layout you can add code below in** 

`frontend/<your_theme>/<theme_package>/layout/local.xml`

```
<?xml version="1.0"?>
<layout>
    <default>
        <remove name="block_name" />
    </default>
</layout>

```
As mentioned above you can enable template hints either through the admin, or it's usually faster to search the codebase. For example:

If the block/container you are trying to find has a unique class or ID then I usually find it quicker just to search for those. For example if I wanted to find out which block is responsible for the nav section (`<div class="sections nav-sections">`) then I would search for `nav-sections` inside `vendor/magento`.

This almost instantly returns `vendor/magento/theme-frontend-blank/Magento_Theme/layout/default.xml` line 20 - meaning the block name is `navigation.sections`. I find this much faster than enabling template hints.