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 11902 time(s), 3 post(s) 17.04.2014 21:46:48by gstadter
gstadter

gstadter

17.04.2014 21:46:48
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?
Dieser Inhalt wurde noch nicht bewertet. 
669 Reputation 67 Total posts
khorvat

khorvat

18.04.2014 06:57:50
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
Bewertet mit 5,00, 1 Besucher. 
15993 Reputation 2214 Total posts
gstadter

gstadter

18.04.2014 12:41:09
I'm going to go with the second method you suggested.   Thank you very much, sir!
Dieser Inhalt wurde noch nicht bewertet. 
669 Reputation 67 Total posts