Hi, I believe Ive seen this asked on here before but havent been able to find the thread.
Im looking at a way to create custom coloured links for a couple of pages on the main nav – see attached. Is there some custom CSS that will change the nav coloured based on the page ID or similar?
many thanks
Todd
Hey toddbarden,
You have to target both the page-id and link id with css to update the color. You can find them both via the browser inspector.
Best regards,
Jordan Shannon
Hey Jordan,
Thanks loads for the advice, sorry thats a beyond me… can you give me an example? Login details also attached if that helps?
1st page id – post=29
2nd page id – post=31
Thanks loads in advance
Todd
Hi Todd,
Here’s an example for your first menu item:
#menu-item-41 .avia-menu-text {
color:red;
}
You can follow that structure for your other menu elements, simply right click on them and select inspect in your browser so find the menu-item id.
Best regards,
Rikard
Thanks Rikard, this is brilliant.
Is it then possible to add a rollover colour to these menu items?