no top navigation?

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/23/2008 1:25:16 AM
Gravatar
Total Posts 16

no top navigation?

 I create a new skin copy from styleshout-techmania. when I modify the layout.master and styleimage.css,there is something wrong.The top navigation disappear. So I recopy the styleshout-techmania's content to my new skin folder.

And I delete the currentlog.config.

But when I refresh the website,it still remain the false skin.There is still no top navigation.

So I can't sign in to change the skin.I redo my website again.It is so trouble.

12/23/2008 6:02:39 AM
Gravatar
Total Posts 18444

Re: no top navigation?

Hi,

I don't know about the problem you had with the top navigation, must have been some setting you changed in css.

I do understand the problem you are having about not seeing your changes, its because of the caching. I don't know why you deleted the log file as that won't do anything helpful. You can clear the server cache by touching your web.config (just download it then upload it that will recycle the app and clear the server cache), then clear the browser cache as well.

To make it easier, yesterday I updated the 2.2.8.1 release with some new config settings to make it easy to disable the cache while you are designing. If you downloaded the 2.2.8.1 release before yesterday afternoon, then you should download it again. You only need the new Web.config file and the /bin/mojoPortal.Web.dll. Replace both of those on your installation with the new version.

There are 2 new Web.config settings that can make it easier while you are designing your skin. By default the css is cached heavily both on the server and in the browser, and this is ideal most of the time. But when you are designing your skin this caching can be a hassle because you have to keep clearing the cache. Now these 2 Web.config settigns allow you to disable the cache while you are designing.
<add key="CacheCssOnServer" value="true" />
<add key="CacheCssInBrowser" value="true" />

Ideally you will set those back to true when you are finished designing your skin.

Hope it helps,

Joe

12/25/2008 4:22:46 AM
Gravatar
Total Posts 16

Re: no top navigation?

Hi, Joe
I create a new skin.(copy the dcarter-sq2 skin.)I want to change the top navigation and the menu's color.The former color is grey.I want to make it as gree. where should I modify? I try to modify on stylemenu.css.But it is no use.

Please advise.

Thanks very much.

12/25/2008 9:14:58 AM
Gravatar
Total Posts 18444

Re: no top navigation?

In order to know what css class or rule to modify, you need to view the source of the rendered page and study the markup. Usually with links you have to make very specific rules like a.classname{color:green;} or li.classname a {color:green;} if the link has no class directly on it, use the parent element. You may also need to set the same color for hover visited etc, like li.classname a:hover{green;}

Hope it helps,

Joe

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