I have installed DNN7 Community edition. I want to modify 'Gravity' skin as per my needs, so i created a folder as below
Portals\_default\Skins\GravityCustom
Then i copied all content from Portals_default\Skins\Gravity folder to this new one. I also customize Home.ascx and Skin.css
I login with host account to install this new skin. I found that it was already there in dropdown. Under site settings, I set this new skin 'GravityCustom - Home' as Site Skin. I leave Site container as it is.
When i view portal in browser, Home.ascx is showing changes but there is no change in CSS. I restarted website from iis manager and loaded again still there was no change.
I run http sniffer to check which CSS it is loading. I wonder that it is still loading CSS from Gravity folder not from GravityCustom.
How to tell DNN to load correct CSS?
Make sure your skin is set to GravityCustom at the Site level and then also double check the actual site page settings you are on to confirm it is also using GravityCustom.
If you have it set to GravityCustom it should not be pulling the CSS from any other skin except that folder and I think portal.css is still shared across all skins.
Just as a test you could empty the contents of your skin.css in GravityCustom do a refresh in your browser and see if the design gets all goofed up. Maybe you made your edits to the wrong css file?