-
AuthorPosts
-
April 1, 2016 at 11:29 pm #606887
Hello,
I am using Enfold 3.5.1 and appear to be having this issue on my site. Login details are in private section.
Thanks,
ChrisApril 2, 2016 at 6:07 am #606900April 2, 2016 at 8:42 am #606907Hi!
Bumping will not help in getting faster replies. the system marks it as answered and push it to the bottom of queue. Please wait while we get yo your ticket and answer it will be much faster.
We are working on your ticket please wait while we update the results here soon.We have added the below code and fixed the issue please check the site and let us know if you have any questions
custom css
/* onepage nav active menu item*/ @media only screen and (min-width: 769px) { .current_page_item .avia-menu-text, .active-menu-item { color: #b70e14!important; } } .active-menu-item .avia-menu-fx{ opacity: 1; visibility: visible; background-color: #719430; border-color: #507210; height: 2px; width: 100%; } /*remove default styles*/ .current-menu-item .avia-menu-text { color: #0a5476!important; } .current-menu-item .avia-menu-fx { display: none!important; }
onepage scroll jQuery
//One page nav highlight function activateMenuItem(){ ?> <script> jQuery(document).scroll(function() { var sections = jQuery('.avia-section'), menu = jQuery('.avia-menu'), nav_height = menu.outerHeight(); jQuery(window).on('scroll', function() { var cur_pos = jQuery(this).scrollTop(); sections.each(function() { var top = jQuery(this).offset().top - 300, bottom = top + jQuery(this).outerHeight(); if (cur_pos >= top && cur_pos <= bottom) { menu.find('a').removeClass('active-menu-item'); menu.find('a[href="#' + jQuery(this).attr('id') + '"]').addClass('active-menu-item'); } }); }); }); </script> <?php } add_action('wp_head', 'activateMenuItem');
Regards,
Vinay- This reply was modified 8 years, 7 months ago by Vinay.
April 2, 2016 at 2:35 pm #606980Hi,
Unfortunately, this did not resolve my issue.
Please take a look at http://www.internetmarketingpros.net, which is the exact same website. This website has the correct menu highlighting that I am looking for.
Thanks,
ChrisApril 2, 2016 at 5:36 pm #607006Hey!
Please refresh your browser cache and check again r0cket l3ads works fine the Internet Marketing site has the menu highlight issue… if you find any issue with r0cket l3ads please elaborate it so we can help you fix it.. :)
Cheers!
VinayApril 4, 2016 at 6:33 am #607380Hi Vinnie, I like the highlight that internetmarketingpros.net has with the line under each section. I’m personally not a fan of the current section highlight on rocketleads.net.
Please advise.
Thanks!
ChrisApril 4, 2016 at 9:46 am #607460Hi!
We tweaked the code a bit please hard refresh the page a few times to clear cache and review the site now it is working perfect :)
Best regards,
Vinay- This reply was modified 8 years, 7 months ago by Vinay.
April 4, 2016 at 6:05 pm #607774Hi Vinnie,
Thank you! It looks great, although the previous menu item is still highlighted blue. Please see the attached picture which shows the menu item highlighted in blue (orange box) and the other menu items highlighted in gray (green box). I am looking for any inactive menu items to be gray. So, for this image, I would like “HOME,” “WHY US,” and “CONTACT” to be gray.
Thanks,
ChrisApril 4, 2016 at 9:42 pm #607884Again, I just want the menu items highlighted like they were originally. I want them to do the exact same thing the menus on http://internetmarketingpros.net do.
I’m not understanding why I can’t have the theme do the exact same thing it was doing originally?? Can we not just copy over the menu item highlighting code from the other site? Are there issues with it and that is why there was a change? Confused! Lol
Any fix/info/help/advice is appreciated.
Thanks,
ChrisApril 5, 2016 at 7:09 am #608082Hi!
We have tweaked the css and is looking good now :)
It is a known issue and we will release an update for it soon… after the next theme update you can remove the custom code we added now so you can control the changes from theme options and not use custom css :)
Best regards,
VinayApril 13, 2016 at 5:37 am #612402Hi Vinnie,
I have updated to the latest version that just came out (version 3.5.2). Should I remove the custom code you added as my menus are not highlighting at all?
Please advise.
Thanks,
ChrisApril 13, 2016 at 5:50 am #612408Hi!
Yes please remove the custom code and check it out.
Best regards,
VinayApril 13, 2016 at 5:56 am #612411Hi Vinay,
I removed the custom css that was used and the menus are highlighting, but they are highlighting the menu before the actual menu. For instance, when on “TESTIMONIALS,” it is highlighting “WHY US.”
Please advise.
Thanks,
ChrisApril 13, 2016 at 7:19 am #612458Hi!
This issue has been reported to Kriesi and we will release an update for this soon.
Regards,
VinayApril 17, 2016 at 1:46 am #615619Hi Vinay,
Any updates or workarounds on this?
Thanks,
ChrisApril 19, 2016 at 1:45 am #616978Hey!
Sorry for the wait!
We contacted our devs once again and informed them about your thread. When we receive an update, we will inform you on this thread.Cheers!
YigitApril 22, 2016 at 5:29 pm #620093Hi Yigit, thanks for the update. One of my other websites, internetmarketingpros.net, highlights correctly. Is there any way to get the highlight code from that site and apply it to rocketleads.net? I have shared my website with potential customers and it is public, so I would appreciate a resolution to this as soon as possible. I appreciate the support!
Thanks,
ChrisApril 22, 2016 at 9:18 pm #620221Hey!
Please let us know which version of enfold is internetmarketingpros.net running on? If it is the same version we can try it.
Regards,
VinayApril 25, 2016 at 8:54 pm #621657Hi Vinay,
Unfortunately, it is not the same version. It is on version 3.4.7.
Thanks,
ChrisApril 26, 2016 at 3:38 am #621831Hi!
We will release a fix in the new version kindly wait for an update until then if you need a workaround the code provided earlier still apply! You can try it out or I can set this up for you again on the rocket site let me know :)
Just curious if you are using a child theme? If not we recommend making these changes on a child theme.
Best regards,
VinayApril 26, 2016 at 5:44 am #621882Hi Vinay, yes if you can make those changes that would be great! I’m not sure if I am using a child theme?
April 26, 2016 at 6:31 am #621907Hey!
We are working on your ticket please wait while we update the results here soon.We have added the above code please review the site now.There is a new update available which will fix this issue please update to 3.5.4 and you can remove the code from functions.php and the custom CSS.
Best regards,
Vinay- This reply was modified 8 years, 7 months ago by Vinay.
April 27, 2016 at 11:21 pm #623389Vinay, you guys are the best! Removed code and updated theme. All is working flawlessly now.
Thanks BIG TIME!
Chris
April 28, 2016 at 2:20 am #623435Hi!
Thank you for the kind words :)
We are always committed to providing you a satisfactory resolution.Regards,
Vinay -
AuthorPosts
- The topic ‘One Page Menu Not Highlighting Correctly to Color Section’ is closed to new replies.