GitHub user dosubot[bot] added a comment to the discussion: Changing 
LOGO_TARGET_PATH adds a 'Home' menu

<!-- Answer -->
You do not need to make changes in the `/superset/views/css_templates.py` file. 
Instead, you should create a new CSS template using the Superset interface. 
Here's how you can do it:

1. **Access Superset's CSS Template Feature**: Go to the Superset interface and 
navigate to the section where you can manage CSS templates. This is typically 
found under the "Settings" or "Manage" menu, depending on your Superset version.

2. **Create a New CSS Template**: Use the interface to create a new CSS 
template. You will be prompted to enter a name for your template and the CSS 
code.

3. **Add Your CSS Code**: In the CSS editor, add the following code to hide the 
first child element with the class "ant-menu-item" within the "ant-menu" parent:

   ```css
   .ant-menu > .ant-menu-item:first-child {
       display: none;
   }
   ```

4. **Save the Template**: Save your new CSS template. It will be stored in the 
database and can be applied to your dashboards.

By following these steps, you can apply custom CSS without modifying any files 
directly in the codebase.


<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*

---
<sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/bba3d4f8-5621-4e0b-9fda-60f638f8a0cc?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/bba3d4f8-5621-4e0b-9fda-60f638f8a0cc?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/bba3d4f8-5621-4e0b-9fda-60f638f8a0cc?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/bba3d4f8-5621-4e0b-9fda-60f638f8a0cc?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/bba3d4f8-5621-4e0b-9fda-60f638f8a0cc?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/bba3d4f8-5621-4e0b-9fda-60f638f8a0cc?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/bba3d4f8-5621-4e0b-9fda-60f638f8a0cc?feedback_type=other)</sup>


GitHub link: 
https://github.com/apache/superset/discussions/33295#discussioncomment-12989736

----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@superset.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to