Posted 2 мая, 20222 yr comment_180801 Is there a way to disable the logo image on mobile and just show the Forums name? Link to comment https://ipbmafia.ru/topic/24394-disable-logo-in-mobile/ Share on other sites Больше вариантов
2 мая, 20222 yr comment_180804 ipsResponsive_showDesktop, ipsResponsive_hidePhone. Link to comment https://ipbmafia.ru/topic/24394-disable-logo-in-mobile/?&do=findComment&comment=180804 Share on other sites Больше вариантов
2 мая, 20222 yr Author comment_180815 Cool but it hides everything on mobile, I want to hide only the logo image and show only the board name :s Link to comment https://ipbmafia.ru/topic/24394-disable-logo-in-mobile/?&do=findComment&comment=180815 Share on other sites Больше вариантов
2 мая, 20222 yr comment_180826 This should hide the logo, add in custom.css @media screen and (max-width:768px) { #elLogo img { display: none !important; } } But you still need to add the text now! let me figure that out without adding HTML lol Link to comment https://ipbmafia.ru/topic/24394-disable-logo-in-mobile/?&do=findComment&comment=180826 Share on other sites Больше вариантов
2 мая, 20222 yr Author comment_180828 2 hours ago, Orpheus said: This should hide the logo, add in custom.css @media screen and (max-width:768px) { #elLogo img { display: none !important; } } But you still need to add the text now! let me figure that out without adding HTML lol I've used ipsResponsive_hidePhone on here and it worked. But It doesn't show the board name, which I want it to XD But anyways, gonna leave it like that. Thanks everyone who helped Link to comment https://ipbmafia.ru/topic/24394-disable-logo-in-mobile/?&do=findComment&comment=180828 Share on other sites Больше вариантов
2 мая, 20222 yr comment_180830 newload потому что класс добавлять нужно в шаблон logo. примерно: {{$logo = \IPS\File::get( 'core_Theme', \IPS\Theme::i()->logo['front']['url'] )->url;}} <a class='ipsResponsive_hidePhone' href='{setting="base_url"}' id='elLogo' accesskey='1'><img src="{$logo}" alt='{setting="board_name" escape="true"}'></a> {{else}} <a class='ipsResponsive_hideDesktop' href='{setting="base_url"}' id='elSiteTitle' accesskey='1'>{setting="board_name"}</a> Link to comment https://ipbmafia.ru/topic/24394-disable-logo-in-mobile/?&do=findComment&comment=180830 Share on other sites Больше вариантов
2 мая, 20222 yr Author comment_180831 Huuum.... Didnt work Link to comment https://ipbmafia.ru/topic/24394-disable-logo-in-mobile/?&do=findComment&comment=180831 Share on other sites Больше вариантов
2 мая, 20222 yr comment_180832 newload сказал же, примерно. {{$logo = \IPS\File::get( 'core_Theme', \IPS\Theme::i()->logo['front']['url'] )->url;}} <a class='ipsResponsive_hidePhone' href='{setting="base_url"}' id='elLogo' accesskey='1'><img src="{$logo}" alt='{setting="board_name" escape="true"}'></a> <a class='ipsResponsive_hideDesktop' href='{setting="base_url"}' id='elSiteTitle' accesskey='1'>{setting="board_name"}</a> Link to comment https://ipbmafia.ru/topic/24394-disable-logo-in-mobile/?&do=findComment&comment=180832 Share on other sites Больше вариантов
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.