Child Site Top Menu Formatting

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
7/29/2010 7:05:05 AM
Gravatar
Total Posts 12

Child Site Top Menu Formatting

Hi Joe,

I am using dcarter-sq2 skin for my child site. If do any changes on stylemenu.css and restart IIS. It doesn't show any effect on top menu of child site in  godaddy server, but if I do same in local system it effects on top menu.

What is the problem here?

 

Abhishek

7/29/2010 7:08:29 AM
Gravatar
Total Posts 18439

Re: Child Site Top Menu Formatting

Restarting IIS clears the server cache but not the browser cache. 

7/29/2010 12:04:12 PM
Gravatar
Total Posts 12

Re: Child Site Top Menu Formatting

I cleared the browser cache but the top menu in child page does not change. and also recycled the APP pool in IIS.

I think it is using some temporary file in IIS server or what is that I really don't know.

Child site id is 9 in /Data/Sites/ and there is skin dcarter-sq2. I changed the stylemenu.css but It don't change top menu.

I am really exhausted this kind of stuff.

Please provide me some help!

 

Thank you

 

Abhishek

7/29/2010 1:08:24 PM
Gravatar
Total Posts 2169

Re: Child Site Top Menu Formatting

Hi,

Try changing the name of the folder your skin is in. For instance, you said you are using dcarter-sq2; copy this folder to a new folder named dcarter-sq2-modified and then set your site to use the new skin.

If this doesn't work, you didn't change the proper stylemenu.css file and you need to figure out which one you changed and then make those changes in the \Data\sites\9\dcarter-sq2-modified\stylemenu.css file.

HTH,
Joe D.

7/30/2010 6:04:53 AM
Gravatar
Total Posts 12

Re: Child Site Top Menu Formatting

when I rename skin dcarter-sq2 to dcarter-modified. child site page doesn't show any style. It display only content without any formatting.

and If I use another skin like dcarter-business it works fine.

7/30/2010 9:02:22 AM
Gravatar
Total Posts 2169

Re: Child Site Top Menu Formatting

Did you set your site to use the skin with the new name? If you just renamed the folder, you will have no style until you set the site to use the skin with the new name. If you copied the skin to a new folder and named the new folder, you will still have to change the site to use the skin with the new name but your site will have style while do this.

Thanks,
Joe D.

7/30/2010 9:10:26 AM
Gravatar
Total Posts 12

Re: Child Site Top Menu Formatting

I changed the site to use the skin with new name. Then  it disappear all styles from the page and displays only text content.

7/31/2010 1:01:35 AM
Gravatar
Total Posts 12

Re: Child Site Top Menu Formatting

Hi Joe,

I got the problem. Child site is using parent stylemenu.css, It's strange to me.

I created a parent site /Data/Site/1 and child site /Data/Site/2 both have their skin dcarter-sq2.

child site is using it's own layout.master but for menu formatting it is using stylemenu.css of parent site.

Look when I do changes on child site stylemenu.css, It doesn't effect. but when I do changes on parent site's stylemenu.css It effects on both parent and child site.

One more strange thing is:-

div.AspNet-Menu-Horizontal ul.AspNet-Menu li a.AspNet-Menu:hover{
    background-image: url(mnuitemhover.png); background-repeat: no-repeat;
    width: 110px; height: 25px; background-position: left bottom;

when I change size of mnuitemhover.png for child site, It uses changed mnuitemhover.png.

mnuitemhover.png is in /Data/Sites/2/Skins/dcarter-sq2/

How it is possible?

I only want to change child site menu style.

 

Thanks,

Abhishek

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