Jump to content

Add Mobile Chrome theme to default IPS4 style.


Siper

Recommended Posts

I suggest add metatag for mobile Chrome which changes toolbar color on Android 5.0 and above. This looks much better on mobile template.

I just put this:

{{if \IPS\Dispatcher::hasInstance() and \IPS\Dispatcher::i()->controllerLocation == 'admin'}}
<meta name="theme-color" content='#417ba3'>
{{else}}
<meta name="theme-color" content='{theme="main_nav"}'>
{{endif}}

And everything looks that: http://imgur.com/a/vMMVo (i censored frontpage and url). What are you think about this? 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...