Menu bar

Can someone please show me how to remove the the Embedded Styles section that started with zz1_TopNavigationMenu. It seems to be inserted from some where which i could not figure out, and it overwriting the new styles that I inserted. When i clicked refresh several time, I can see that my new styles are applying, but with in a second it overwritten by the Embedded Styles. I'd look at the AspMenu section in the default but no hope.

Many Thanks,

Han Duong


Answer this question

Menu bar

  • KimberlyL

    Check in C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1033\STYLES.
    There you have all the css-files for Sharepoint.

    I'm not sure that you will find zz1_TopNavigationMenu there but it should be a good place to start with...


  • JocularJoe

    Correct way would be to simply remove that behaviour. If you provide ID and class to an element, you except these to be used and no additional ones.

    Juergen


  • JKovarik

    Hi Anders, thanks for your help, but the TopNavigationMenu codes are generated codes, not the customised/uncustomised system file that attached/linked to. for instance core.css is a system file that attached to and it easy to identify, not the TopNavigationMenu css code.

    Han

  • Ralph Trickey

    There are some CSS inheritance issues. If you have applied a theme to your site, these will override your styles too. And the main style sheet for sharepoint would be the core.css, which is always applied the last.

    There are a couple of ways to do this, one way is to emded your own inline styles into your master page or page layout. Or alternatively create a custom style sheet to contain your modifications, applied it through the master page settings within "Site Actions" or apply it into the page layout or master page, after the core.css

    More details could be found at this post by Heather Sololom, SharePoint MVP:

    http://heathersolomon.com/blog/archive/2006/10/27/sp07cssoptions.aspx

    Hope this helps.


  • Menu bar