-
AuthorPosts
-
March 29, 2016 at 2:00 pm #604534
Hello. My issue is that my menu on one page not highlights correctly to color selection. It only appear correctly when u scroll to half of color selection. Please let me know how to fix it. It’s pretty urgent as we are working for client and we already cross the deadline.
Here is the link to the website: http://m8house.com/wsparcieprogramow/
Please click on: “Kim jesteśmy?” in menu then you can see it’s not highlighted on this section, and when you click “Co proponujemy?” the first menu it’s highlighted :/ when you also scroll between this two sections you can actually see it’s start highlighting correctly only when it’s half scrolled down on each section.
Quick help would be very appreciated. Best regards all and looking forward to see solution for this :/
btw. I have newest theme updated and everything i did in color section and menu it’s done properly so there is no option that I did something wrong.
- This topic was modified 8 years, 7 months ago by matgreat.
March 29, 2016 at 3:30 pm #604628Hey matgreat!
Thanks for getting in touch with us!
Could you please provide a link and login details to your site, so that we can have a closer look. You can place the information in the Private Content section of your reply.
Regards,
JordanMarch 29, 2016 at 3:39 pm #604636Hello jordan private message has been send. thanks.
March 29, 2016 at 7:36 pm #604763Hello. Anything new about the issue of this? I would very appreciate if the problem could be resolved in about 2-3 hours approx. Best regards, and please let me know if anyone from your team know anything about solution for this :) Thanks a lot.
I’m all the time here so I can reply quickly.
March 30, 2016 at 12:44 pm #605115Is there anyone who can help me with this issue?
March 30, 2016 at 4:05 pm #605235Hey!
Was there any custom CSS added to the header? Like custom margin which is one of the reason this can happen. You can try removing the custom css and check if the issue resolve then add the css arguments one by one to know which one is causing the issue.
Regards,
VinayMarch 30, 2016 at 4:19 pm #605245No I didn’t add any custom CSS to it. It’s just the way i have the template and it’s not working as it should. The only thing was changed was colors of company to the buttons etc.
EDIT:
Can anyone quickly help me? I’m about to give the website to customer today in beta version and I really need this menu to be done as fast as possible.
- This reply was modified 8 years, 7 months ago by matgreat.
March 30, 2016 at 4:34 pm #605263Hey!
This seems to be a bug as it is also happening on one of our demos using the one page scrolling http://kriesi.at/themes/enfold-one-page-portfolio/#services . We have reported this to our developers for a closer look.
Sorry for the inconvenience.
Best regards,
JordanMarch 30, 2016 at 5:06 pm #605287Do you think it can be fixed today?
March 31, 2016 at 7:09 pm #606131Hello. Still no solution for this one? It’s very urgent. Please help me out with this. Thanks.
March 31, 2016 at 7:24 pm #606139Hey!
refrain from bumping into your own thread, as it pushes it behind in our queue and marks it as answered and then we can’t provide a faster reply to you.
You are using an old version of the theme, so please upgrade to Enfold 3.5.1 and let us know if you still need help afterwards.
Best regards,
AndyMarch 31, 2016 at 9:20 pm #606240Hello,
I am using Enfold 3.5.1 and appear to be having this issue on my site. Login details are in private section.
Thanks,
Chris- This reply was modified 8 years, 7 months ago by chrisbelote.
March 31, 2016 at 11:58 pm #606367Yep. Updated it and same issue as it was. Andy you didn’t help us so much and also seems like other moderators are quiet in this thread. Probably some of you could have done it in couple minutes.
Please guys help out to fix this.
EDIT. Already have Enfold 3.5.1 updated so there is no excuses i have wrong version. Read first post carefully. Thanks.
Best regards to Kriesi.at team.
April 1, 2016 at 3:27 pm #606716Hi!
There are some steps that we need to check before custom coding to avoid conflicts and thank you for co-operating with us. However we could not re-produce this issue so we created a new custom script, disabled default styles and added custom styles for highlighting a menu.
//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');
Below is the CSS we added in Enfold > General Styling > Quick CSS
/* 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 { content: ''; position: absolute; display:block!important; left: 50%; transform: translateX(-50%); bottom: .5em; height: 2px; width: -0; background: #b70e14!important; transition: all 0.3s ease; z-index:99999!important; } } /*remove default styles*/ .current-menu-item .avia-menu-text { color: #0a5476!important; } .current-menu-item .avia-menu-fx { display: none !important; }
Please review the site now it should work fine :)
Cheers!
Vinay- This reply was modified 8 years, 7 months ago by Vinay.
April 1, 2016 at 5:08 pm #606783Hi Vinnie, I’m assuming the above fix was for matgreat? Could you take a look at my site when you have a moment? My login details are in my comment above.
Please advise.
Thanks,
ChrisApril 1, 2016 at 7:44 pm #606837They already applied the changes to my website and it works already good :) Thanks. Chrisbelote if u know how to add CSS codes add these that they give us it will fix ur problem.
April 1, 2016 at 8:29 pm #606857Hi!
@chrisbelote we will take a look at your site as well many issues in one tickets usually lead to confusion and please create a new ticket with proper description of the issue and the private content is visible to both mods and the person who created the ticket.
@matgreat please let us know if you have any questions.Thank you for using Enfold!
Cheers!
VinayApril 1, 2016 at 10:14 pm #606877@Vinnie Thanks. I will remember that for future tickets. Once fixed, I will be sure to change my password. In the meantime, please let me know if you have questions.
Thanks,
ChrisApril 2, 2016 at 8:58 am #606909Hi!
Great! We have replied to you on the new ticket. :)
Cheers!
Vinay -
AuthorPosts
- The topic ‘One page menu not highlight correctly to color section! URGENT!’ is closed to new replies.