vcsharp
2017-10-03T03:46:32Z
I want to create another theme for mobile devices, in addition to YAFMobile. So, in theme drop down for mobile two themes would display and I could select one of the two available mobile themes.

I can copy the YAFMobile folder to the new theme folder and change theme.css for my new theme. That part I understand.

Question
How do I make my new theme appear in mobile themes drop down?
Sponsor
2017-10-03T03:55:11Z
You need to create a new XML file for your theme. Look at the yafmobile.xml file.
UserPostedImage
vcsharp
2017-10-03T06:02:23Z
Originally Posted by: tha_watcha 

You need to create a new XML file for your theme. Look at the yafmobile.xml file.



Ok. Thanks.

How will the drop down for mobile themes know that the new theme is a mobile theme? I mean the drop down at Admin > Settings > Board Settings > Mobile Theme.
2017-10-03T14:35:11Z
Originally Posted by: vcsharp 

Originally Posted by: tha_watcha 

You need to create a new XML file for your theme. Look at the yafmobile.xml file.



Ok. Thanks.

How will the drop down for mobile themes know that the new theme is a mobile theme? I mean the drop down at Admin > Settings > Board Settings > Mobile Theme.



Restart the application and your new theme should show up in the list.


UserPostedImage
vcsharp
2017-10-03T17:50:16Z
Originally Posted by: tha_watcha 

Originally Posted by: vcsharp 

Originally Posted by: tha_watcha 

You need to create a new XML file for your theme. Look at the yafmobile.xml file.



Ok. Thanks.

How will the drop down for mobile themes know that the new theme is a mobile theme? I mean the drop down at Admin > Settings > Board Settings > Mobile Theme.



Restart the application and your new theme should show up in the list.



Great. It works now. Thanks for your quick answer.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved