hi i can’t see my pages content after the upgrade above and main menus seem to be not right either. I have unplugged my WP Rocket, switched off my cloudflare cache, cleared style caches but to no avail. Also can’t find anything relevant after looking at the support forums. could you have a look at this please?
Hello @rickyabache,
Thanks for posting in!
You are having this issue because there is a JS error coming from a custom javascript code that you added in the Pro > Theme Options > Custom JS. You have added incorrect code:
function scroll_it_to ( id ) {
var hash_id = window.location.hash;
console.log( hash_id );
if ( hash_id !== "" ) {
$('html,body').stop().animate({
scrollTop: $( hash_id ).offset().top - 112
},700 ,'swing');
}
}
$(document).ready( scroll_it_to );
$(window).load( scroll_it_to );
});
The correct code should be this instead:
(function($)){
function scroll_it_to ( id ) {
var hash_id = window.location.hash;
console.log( hash_id );
if ( hash_id !== "" ) {
$('html,body').stop().animate({
scrollTop: $( hash_id ).offset().top - 112
},700 ,'swing');
}
}
$(document).ready( scroll_it_to );
$(window).load( scroll_it_to );
})(jQuery);
Please have the code updated and test your site again.
Hi - didn’t realise this but doesn’t explain why my posts and pages that I created in the builder are now blank - e.g. if you look to edit my main page all of the sections have disappeared… could you look at this for me please.
Hello @rickyabache,
I have logged in again and it seems that your pages were edited outside of Pro editor. Did you, in any way, have accidentally edited the pages outside of the Pro Editor?
Meanwhile, you could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
Kindly let us know.
Seems to be ok this morning although I didn’t need to do anything else for some strange reason. Before I contacted you last night I had asked my ISP to increase my max post size which was 32M so maybe it was this that did the trick after a bit of time. Did you reset anything on the builder to get it to recognise the posts and pages again?
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.