Jump to content

Featured Replies

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

ipsResponsive_showDesktop, ipsResponsive_hidePhone.

Link to comment
https://ipbmafia.ru/topic/24394-disable-logo-in-mobile/?&do=findComment&comment=180804
Share on other sites

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

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 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

1352322341_ScreenShot2022-05-02at14_57_55.png.cb4303d68f4a928a4c7fc8d7a5e2da77.png

 

 

But anyways, gonna leave it like that. Thanks everyone who helped xD

Link to comment
https://ipbmafia.ru/topic/24394-disable-logo-in-mobile/?&do=findComment&comment=180828
Share on other sites

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

Huuum.... Didnt work 

Screenshot_20220502-154525.thumb.png.bad66cd37a68a198e00b8d5f06f2cebb.png

Link to comment
https://ipbmafia.ru/topic/24394-disable-logo-in-mobile/?&do=findComment&comment=180831
Share on other sites

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.


Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.