SiteMenu styling changed when site is on test server

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.
9/15/2011 11:34:32 PM
Gravatar
Total Posts 39

SiteMenu styling changed when site is on test server

On my development machine the menu is displayed perfectly. On the test server unrequired extra formatting is being added.

I have checked that SiteMenu is not referenced in the theme.skin file. Where else would this extra formatting be coming from?

In layout.master I have added extra theming settings set to false to try to stop the additional styling from being added:

<portal:SiteMenu id="SiteMenu1" runat="server"
         UseTreeView="false"  HideMenuOnSiteMap="false" EnableTheming="false"
            UseArtisteer="false" UseSuperfish="false"
      Direction="Horizontal" TopLevelOnly="true"></portal:SiteMenu>

 

Using firebug on the test server version of the site the additional styling is visible:

#SiteMenu1_ctl00 a.static {
    padding-left: 0.15em;
    padding-right: 0.15em;
}
 

I am running mojoPortal Version 2.3.4.1 MSSQL

 

Thanks,
Leah

 

 

9/16/2011 5:49:48 AM
Gravatar
Total Posts 18439

Re: SiteMenu styling changed when site is on test server

Hi Leah,

See the article The Trouble with ASP.NET Menu

Hope that helps,

Joe

9/18/2011 11:27:24 PM
Gravatar
Total Posts 39

Re: SiteMenu styling changed when site is on test server

Hi Joe,

I checked out the article you recommend and have seen that:

You could try using TreeView instead of Menu since it also renders as a list and it does not have javascript that applies style.

Had a quick go this morning and it looks like it will work. I have been asked to work on anther project for a few days. I will come back here and let you know how I go when I finish this working on this issue.

Thanks again for your quick response.

Cheers,
Leah

 

 

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