Hello ModX community,
I have a wayfinder menu working - currently has basic call:
[[Wayfinder? &startId=`0` &level=`1`]]
links are working fine, and is pulling in my CSS correctly.
However I have created a class to apply to the first link - "Home" so that it doesn’t have a left border.
CSS for Navigation is:
#Nav ul {
display: inline;
list-style: none;
padding: 0;
border: none;
margin-top: 0;
margin-bottom: 0;
}
#Nav li {
text-align: left;
display: inline;
font-size: 0.9em;
border-left-width: 1px;
border-left-style: double;
border-left-color: #6989AD;
padding-left: 12px;
padding-right: 5px;
margin-left: 0px;
margin-right: 0px;
}
#Nav li.first {
text-align: left;
display: inline;
padding-left: 15px
font-size: 0.9em;
border-left: none;
}
As yet I’m not able to work out how to apply this class just to the home page list item, using wayfinder. So any help would be great.
Feel free to check the test site:
http://cg-interactive.co.uk/modX/testSite to get an idea (p.s footer has hard coded placeholder links for now)
Many thanks,
Carlos