- This topic has 7 replies, 2 voices, and was last updated 3 years, 5 months ago by Tom.
February 3, 2017 at 3:00 pm #273989Mary Pearson
On my website at https://christiangays.com/ you will note that I have a primary menu with links to sub-domains (CAPITAL LETTERS). Secondary menu is different on each sub-domain.
When I click on a sub-domain in the primary menu, the background colour goes tan. (good)
When I click on a menu item in the secondary menu, the background colour goes tan (good), and the background colour of the sub-domain in the primary menu goes back white (not selected) (not good).
I would like my members to know which parts of the site they are on, so I’m wondering if there is any way to keep the background colour of the primary menu tan, even when they click on an item in the secondary menu.
Is this possible, and if so, how?
Thanks!GeneratePress 1.3.44GP Premium 1.2.94February 3, 2017 at 7:49 pm #274042TomLead DeveloperLead Developer
The tan color in your case is the current background color. So in order for any one menu item to be tan, WordPress needs to see some sort of relationship between the current page and the menu item. Whether it’s a parent or child page, the current page etc..February 3, 2017 at 7:50 pm #274044Mary Pearson
So do you think it’s possible?February 3, 2017 at 7:53 pm #274046TomLead DeveloperLead Developer
Only if there’s a relationship between the page and the menu item you want to be tan.
Thank you. No I know that I can’t do it but I might be able to pay a coder to do it for me if you think it’s possible.
Thanks Tom!February 3, 2017 at 7:55 pm #274048TomLead DeveloperLead DeveloperMarch 1, 2017 at 4:59 pm #285880Mary Pearson
I thought you might like to know that my coder was able to complete this task for me.
My secondary links are now connected to primary links, so that when a person clicks on a link in the secondary menu, the primary menu also changes colour.
I’m a happy camper!March 1, 2017 at 9:23 pm #285950
- You must be logged in to reply to this topic.