GitHub user dosubot[bot] added a comment to the discussion: Changing
LOGO_TARGET_PATH adds a 'Home' menu
<!-- Answer -->
If you cannot change the frontend code, you can try using custom CSS to hide
the 'Home' menu element. Although I couldn't find specific CSS classes or IDs
associated with the 'Home' menu element, you can inspect the page using browser
developer tools to identify the correct selector. Once you have the selector,
you can add a custom CSS template in Superset to hide the element. Here's a
general example of how you might do this:
1. Identify the CSS selector for the 'Home' menu element using browser
developer tools.
2. Create a custom CSS template in Superset with the following content:
```css
/* Replace '.home-menu-selector' with the actual selector */
.home-menu-selector {
display: none;
}
```
3. Load this CSS template into Superset using the `CssTemplate` model.
This approach allows you to hide the 'Home' menu element without modifying the
frontend code directly.
<!-- 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/a5b48da0-8995-4289-b3d0-0d59e39b82b7?feedback_type=great_response)
| [Irrelevant
Answer](https://app.dosu.dev/response-feedback/a5b48da0-8995-4289-b3d0-0d59e39b82b7?feedback_type=irrelevant_answer)
| [Incorrect
Sources](https://app.dosu.dev/response-feedback/a5b48da0-8995-4289-b3d0-0d59e39b82b7?feedback_type=incorrect_sources)
| [Too
Verbose](https://app.dosu.dev/response-feedback/a5b48da0-8995-4289-b3d0-0d59e39b82b7?feedback_type=too_verbose)
|
[Hallucination](https://app.dosu.dev/response-feedback/a5b48da0-8995-4289-b3d0-0d59e39b82b7?feedback_type=hallucination)
| [Bug
Report](https://app.dosu.dev/response-feedback/a5b48da0-8995-4289-b3d0-0d59e39b82b7?feedback_type=bug_report)
|
[Other](https://app.dosu.dev/response-feedback/a5b48da0-8995-4289-b3d0-0d59e39b82b7?feedback_type=other)</sup>
GitHub link:
https://github.com/apache/superset/discussions/33295#discussioncomment-12989581
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]