MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

switch mobile themes? (Closed) (Mono Support )

Viewed 10578 time(s), 3 post(s) 4/17/2014 9:46:48 PMby gstadter
gstadter

gstadter

4/17/2014 9:46:48 PM
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?
This content has not been rated yet. 
669 Reputation 67 Total posts
khorvat

khorvat

4/18/2014 6:57:50 AM
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
Rated 5.00, 1 vote(s). 
15993 Reputation 2214 Total posts
gstadter

gstadter

4/18/2014 12:41:09 PM
I'm going to go with the second method you suggested.   Thank you very much, sir!
This content has not been rated yet. 
669 Reputation 67 Total posts