Hallo, i really do not know how does it happened but my anchor point not working properly in Firefox anymore. On Chrome and Safarfi works all fine. You need to go from Startseite in bottom position were you find the second News were is \"Mehr erfahren\". The link schould jump to anchor point \"news\" but the link take you only to the bottom position on News site. But when you allredy are on News site you can write in URL: http://myworkflow.info/de/news#news
/* one page scrolling */ function scrollSpyInit(){
//remove full page URLs from hash if located on same page to fix current menu class $("#header-outer a[href*='" + location.pathname + "']").each(function(){ var $href = $(this).attr('href'); if($href.indexOf("#") != -1) { $(this).attr('href',$href.substr($href.indexOf("#"))); $(this).parent().removeClass('current_page_item').removeClass('current-menu-item'); } });
/* one page scrolling */ function scrollSpyInit(){
//remove full page URLs from hash if located on same page to fix current menu class if(location.pathname.length > 1) { $("#header-outer a[href*='" + location.pathname + "']").each(function(){ var $href = $(this).attr('href'); if($href.indexOf("#") != -1) { $(this).attr('href',$href.substr($href.indexOf("#"))); $(this).parent().removeClass('current_page_item').removeClass('current-menu-item'); } }); }
Hallo, i really do not know how does it happened but my anchor point not working properly in Firefox anymore. On Chrome and Safarfi works all fine. You need to go from Startseite in bottom position were you find the second News were is \"Mehr erfahren\". The link schould jump to anchor point \"news\" but the link take you only to the bottom position on News site. But when you allredy are on News site you can write in URL: http://myworkflow.info/de/news#news
and than anchor works.
Hey,
Have you tried deactivating any new third party plugins and updating the theme?
Cheers
I have updated Template to version 5.0 and i have tryed to disable some 3 part plugins but witchout any positive results:(
Hey Again!
Can you try deactivating all plugins and test.
Thanks
ThemeNectar Support Team
hi, i disabled all 3 part plugins and still nothing:(
Hey Again!
Have you changed the target in here : http://prntscr.com/63cp6q .
Thanks
ThemeNectar Support Team
i have this:
/* one page scrolling */
function scrollSpyInit(){
//remove full page URLs from hash if located on same page to fix current menu class
$("#header-outer a[href*='" + location.pathname + "']").each(function(){
var $href = $(this).attr('href');
if($href.indexOf("#") != -1) {
$(this).attr('href',$href.substr($href.indexOf("#")));
$(this).parent().removeClass('current_page_item').removeClass('current-menu-item');
}
});
$('body').scrollspy({
target: '*',
offset: $('#header-outer').height() + adminBarHeight + 15
});
}
allright i found it. The working code is:
/* one page scrolling */
function scrollSpyInit(){
//remove full page URLs from hash if located on same page to fix current menu class
if(location.pathname.length > 1) {
$("#header-outer a[href*='" + location.pathname + "']").each(function(){
var $href = $(this).attr('href');
if($href.indexOf("#") != -1) {
$(this).attr('href',$href.substr($href.indexOf("#")));
$(this).parent().removeClass('current_page_item').removeClass('current-menu-item');
}
});
}
$('body').scrollspy({
target: '#header-outer nav',
offset: $('#header-outer').height() + adminBarHeight + 15
});
}