Sorry – probably not making myself clear.
My intended output for each item in the navigation menu is (roughly):
<li class="pagename colour"><a href="blah...">Page Name</a></li>
Where ‘pagename’ is lifted from wpdb and ‘colour’ is lifted from the value of a custom field in the page in question.
I’m getting the pagename no problem but getting nothing through for ‘colour’ – view source for the page just shows that the value hasn’t been returned. eg:
<li class=" meet-the-team "><a href="https://castle.ideasbyeden.co.uk/index.php/meet-the-team/">team</a></li>
You can safely assume that obvious coding stupidness is not deliberate ??