This topic has 8 replies, 3 voices, and was last updated 5 years, 6 months ago ago by Olga Barlow
Thanks to the code in CSS, which you suggested to me a few years ago, in the desktop version I have the menu links that are highlighted with a different color when they are on that page (this obviously happens with the mobile menu too).
For example on the portfolio page (see link 1).
When I enter a subpage, for example in a blog article or in a portfolio project (see link 2) the menu is still highlighted to show that I am in that section. With theme v4.5 this happened in both desktop and mobile menus. After upgrading to v5.0, in the mobile menu that menu link does not change color (in the desktop version it works). Why?
The same problem I have on all my sites on which I put this theme, if I solve with one then I repeat the changes also on the others.
Hello,
thanks for the quick response. I insert it and it works. But it works only on this website.
On another website (almost identical) I did the same thing and it doesn’t work. See the link in pvt content. Why does it happen?
Hello,
Change these classes .single-etheme_portfolio .menu-item-36 a
http://prntscr.com/o4cn9t to .single-etheme_portfolio .mobile-nav .menu .menu-item-36 a
https://prnt.sc/o4cnvx
Regards
I did it, but adding “.mobile-nav .menu” and removing line 143 (as you told me)I have two errors:
1) now it doesn’t work on the desktop too (if you check the link is no more enlighted inside the portfolio project). Before there it worked.
2) the entire mobile menu remains of the old color.
This line I had added because on this site it gave me this problem, not on the other almost identical.
Please see line 589 of style.css of website A
and line 591 of style.css of website B
A doesn’t work, B works.
On B you did some changes in past, after I replied them on A but probably you didn’t tell me all changes to replicate
Hello,
You shouldn’t remove the 143 line. Put it back.
Change
.single-etheme_portfolio .mobile-nav .menu .menu-item-36 a, .single-etheme_portfolio .mobile-nav .menu .menu-item-42 a, .single-etheme_portfolio .mobile-nav .menu .menu-item-17522 a {
color: #ffffff !important;
}
to
.single-etheme_portfolio .mobile-nav .menu .menu-item-36 a, .single-etheme_portfolio .mobile-nav .menu .menu-item-42 a, .single-etheme_portfolio .mobile-nav .menu .menu-item-17522 a,
.single-etheme_portfolio .menu-item-36 a, .single-etheme_portfolio .menu-item-42 a, .single-etheme_portfolio .menu-item-17522 a {
color: #ffffff !important;
}
This code should give the desired result on mobile and desktop for website A.
On B you did some changes in past, after I replied them on A but probably you didn’t tell me all changes to replicate
– when?
Regards
It works, thanks.
When? See your replies of May 31, 2019 at 12:06 pm in this post https://www.8theme.com/topic/a-lot-of-problems-with-the-5-0-version-of-the-theme/
Anyway this specific matter is solved.
Hello,
You are welcome.
Our developers will be able to check your questions tomorrow and we’ll provide you their answer once get it. Sorry for some delay in answering.
Regards
You must be logged in to reply to this topic.Log in/Sign up