Mobile skin not being loaded on device (only)

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
12/21/2011 8:42:54 AM
Gravatar
Total Posts 5

Mobile skin not being loaded on device (only)

I am currently working on some modifications to the mobilekit-skin. I just added some CSS to the styles.css and made a minor modification in the layout.Master. Now i have the following problem:

The changes in the layout.Master are loaded on the device, the changes to the stylesheet however seem to be completely ignored. I turned off caching in user.config and "touched" Web.config, I even logged in and turned off CSS-caching for me on the device, no change. Cleared cache on phone, used different phone..nothing. The weird thing is, that when I tell my browser to mimick an iPhone User-Agent everything works perfectly fine and i see the mobilepage with my css modifications. I even moved my skin to another directory and changed the mobileskin-setting...no go.

Is there anything I am missing? Some cache not being deleted? Some wrong ordering of how stylesheets are loaded, different interpretation on the device? (style.css is included last in style.config). I am really out of ideas here, anyone with a hint?

Thanks in advance!

12/21/2011 10:36:49 AM
Gravatar
Total Posts 18439

Re: Mobile skin not being loaded on device (only)

It has to be a browser cache issue. Note that clearing the browser cache will not clear it for pages currently open in the browser so you need to close the page to clear the cache then go back to it. Also make sure you have not disabled CombineCSS if you do that then there is no way to prevent the browser from caching it because it just renders links to static css files.

Hope that helps,

Joe

12/21/2011 11:59:04 AM
Gravatar
Total Posts 5

Re: Mobile skin not being loaded on device (only)

Disabling CombineCSS, reloading and then enabling it again helped somehow. Thanks for the quick help!

You must sign in to post in the forums. This thread is closed to new posts.