Thanks for the suggestions.
Hi Robin,
Thank you for the prompt reply.
Issue 2 is resolved with your code.
As far as issue 1 goes – I disabled all plugins and it did not resolve the issue. So I went ahead and enabled twentyfourteen and it resolved it – Unfortunately that is not much good to me, as I need to continue using the theme I bought from Themeforest.
The theme authors general attitude when you post any issue with an external plugin is that they basically don’t care as its not directly related to in-built theme functionality or ‘we haven’t tested that with our theme so can’t comment on your issue’.
With the above in mind, could you suggest some way I could debug the issue myself and try to resolve it?