GitHub user dosubot[bot] added a comment to the discussion: How to adjust width of the superset logo in UI?
<!-- Answer --> There are a few common reasons why `brandIconMaxWidth` doesn't take effect in v6.1.0rc2. Here's a troubleshooting checklist: **1. Use `brandLogoUrl` instead of `APP_ICON`** In v5+ and v6+, the old `APP_ICON` config is **ignored** — the theme system takes over logo rendering entirely [[1]](https://github.com/apache/superset/issues/34824). You need to set the logo path via the theme token: ```python THEME_DEFAULT = { "token": { "brandAppName": APP_NAME, "brandLogoAlt": APP_NAME, "brandLogoUrl": "/static/assets/images/superset-logo-horiz-arkose2.png", "brandIconMaxWidth": 50, # 4px × 50 = 200px max width "brandLogoHeight": "40px", }, } ``` **2. You must also configure `THEME_DARK`** Without `THEME_DARK`, the logo reverts to defaults when dark mode is active or toggled [[1]](https://github.com/apache/superset/issues/34824): ```python THEME_DARK = { "token": { "brandAppName": APP_NAME, "brandLogoAlt": APP_NAME, "brandLogoUrl": "/static/assets/images/superset-logo-horiz-arkose2.png", "brandIconMaxWidth": 50, "brandLogoHeight": "40px", }, "algorithm": "dark", # Required! } ``` **3. Clear browser localStorage and cache** The theme editor stores values in localStorage under the `superset-theme` key, which overrides your server config [[2]](https://github.com/apache/superset/issues/36979). Clear localStorage and do a hard refresh (`Ctrl+Shift+R`). **Width formula:** The actual max-width is `sizeUnit (4px) × brandIconMaxWidth`, so a value of `50` gives you `200px` max width [[3]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/features/home/Menu.tsx) [[4]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/packages/superset-ui-core/src/theme/Theme.tsx). Try these steps and let me know if the logo size updates. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).* --- Share context across your team and agents. Try [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-tagline&utm_term=apache%2Fsuperset). [](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-feedback&utm_term=apache%2Fsuperset&message_id=57eef0a4-d88b-4901-aca4-ef0eb3122f26) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-learn-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-add-team&utm_term=apache%2Fsuperset) GitHub link: https://github.com/apache/superset/discussions/40010#discussioncomment-16876005 ---- 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]
