Hi Ismael,
You are probably right, it could be a plugin conflict! It wasn’t the SEO plugin, but I think I will just use the code you suggested rather than disabling all my plugins etc.
Thanks for the help
D
Link submitted in the private reply. For the non admins:
I have the latest version of Enfold under a child theme. Not much in the child theme except css and two modified shortcodes.