How to customize my logo discourse only on mobile.
Can you suggest some codes to solve my logo size on android device.
The discussion revolves around customizing the logo size on a Discourse forum for mobile devices. Jack855 initially asked for help with customizing the logo size on Android devices and provided a screenshot of the issue.
Canapin suggested creating an alternative logo designed for small spaces, which can be uploaded as a mobile logo in the site settings. Alternatively, Canapin proposed hiding or reducing the font size of custom header buttons using CSS.
However, without knowing the specific theme component or CSS used, Canapin couldn’t provide further assistance. Jack855 ultimately decided to remove the header links as a solution to avoid the logo size problem.
I assume you’re talking about the top left logo in the header, and that you find it too small.
Because you have additional buttons in your header, your logo will remain small. The best solution would be having an alternative logo more suitable, designed especially for small spaces, that could fit in a square.
After having made such a logo, you can upload it in https://forum.ubtask.com/admin/site_settings/category/branding
Look for mobile_logo.
Alternatives solution: hide or reduce the font size of your custom header’s button with CSS.
You’ve apparently removed the links so I can’t see which theme component you used or the button’s CSS.
Can’t be of much help without this kind of information.
Here’s how the page appears to me:
If you used Custom Header Links, there’s a setting for each link to hide or show regarding the device used (mobile or desktop), so you can use this setting.
I decide to remove header links, as the best way to avoid logo size problem.