We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7231
    • 4,205 Posts
    Is there a way to give these tags id’s in my wayfinder menu so the css only apply to my menu?
    Be more specific in your css definitions:

    Rather than simply using #nav {...} for example use a more specific declaration like #maincontent #header #nav ul {...}

    look up ’css specificity’ for more examples wink
      [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

      Something is happening here, but you don't know what it is.
      Do you, Mr. Jones? - [bob dylan]
      • 21778
      • 223 Posts
      Quote from: sharkbait at Apr 14, 2009, 10:16 AM

      Hi,
      you still around?
      sure wink

      then you need to specify your css for those lists, like div#menu ul li {...} & maybe div#menu_forum ul li {...}

      hope that helps, jan

      Quote from: dev_cw at Apr 14, 2009, 10:17 AM

      Is there a way to give these tags id’s in my wayfinder menu so the css only apply to my menu?
      Be more specific in your css definitions:

      Rather than simply using #nav {...} for example use a more specific declaration like #maincontent #header #nav ul {...}

      look up ’css specificity’ for more examples wink


      Thanks for the quickie ! :p i read up on specificity and i get it now.. shouldn’t be much of a problem to fix (brave said).
        • 26931
        • 2,314 Posts
        grin and both posted at almost exact the same time!