Mono Support switch mobile themes? (Closed)

Viewed 11836 time(s), 3 post(s), 4/17/2014 9:46:48 PM - by gstadter
4/17/2014 9:46:48 PM
669 Reputation 67 Total posts

Is there a location in the web.config or elsewhere, where the theme for mobile users can be switched/specified, as can be done for theme used by desktop?   or is the only option to modify what is within the App_Themes\Mobile and App_Templates\Mobile folders?

1
4/18/2014 6:57:50 AM
15993 Reputation 2214 Total posts

Hi,

you can go to the "/MonoX/Mobile" folder and change the Theme="Mobile" to Theme="YourTheme" on every page. Another approach would be to remove the Theme="Mobile" from every page and then add web.config to the folder with the following content:

<?xml version="1.0" encoding="utf-8"?>
  <system.web>
      <pages theme="YourTheme" />
  </system.web>
</configuration>
This is the only way to start building new mobile theme.

Regards

2
4/18/2014 12:41:09 PM
669 Reputation 67 Total posts

I'm going to go with the second method you suggested.   Thank you very much, sir!

3
This is a demo site for MonoX. Please visit Mono Software for more info.