With the initial build of the Vega Vega Pro Themes the highlighting of the menu items on the home page do not work correctly. I have managed to correct this by:
b) Change function isScrolledIntoView(elem) in vega-wp.js to the following code as the existing code was not working as expected:
var $ = jQuery;
var docViewTop = $(window).scrollTop();
var docViewBottom = docViewTop + $(window).height();
var elemTop = $(elem).offset().top;
var elemBottom = elemTop + $(elem).height();
return ((elemBottom <= docViewBottom) && (elemTop >= docViewTop));
Not sure if this was the right thing to do but seems to be working fine now, feedback if this is the right thing to do would be appreciated.
We are proud to announce that the stable release of the October CMS 2 is now available! The release represents over a year of design, research and development effort, which resulted in multiple new features and changes.