1 dbell154 Jan 08, 2016 02:59
3 dbell154 Jan 08, 2016 21:44
Awesome. That works. Thanks.
4 dbell154 May 07, 2016 17:14
Speaking of the Mystique skin, in addition to the desktop version, I created a mobile version of the skin, and have now made it Google mobile-friendly.
Looking back at the installed skins and comparing with my desktop version, I have the following files with items changed.
File:_skin.class.php
class mystique_Skin extends Skin
class mystique_mobile_Skin extends Skin
var $version = '2.1.3';
var $version = '2.1.4';
return 'Mystique';
return 'Mystique Mobile';
return 'normal';
return 'mobile';
'default' => $skins_url.'mystique/images/gravatar.jpg',
'default' => $skins_url.'mystique_mobile/images/gravatar.jpg',
File:index.main.php
skin_include( '_html_header.inc.php', array() );
skin_include( '_html_header.inc.php', array(
'viewport_tag' => '#responsive#',
) );
The above should flag the url as mobile-friendly for Google, but changes in style.css make it work. I'm attaching the revised version of the stylesheet, though more work could be done to refine it.
The file skininfo.html probably should also be changed.
Attachments:
- style.css (52 KB)
@dbell154 a small fix has been added to the skin in order to display sub-categories indented. You can download the latest version it from here: http://skins.b2evolution.net/mystique-skin