Jump to content

Featured Replies

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

  • 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

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

 

 

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

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>

 

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>

 

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.