Thank you very much. That works really well.
Sorry to bother you again but I would also like to display the text header (#site-title) on all the pages but hide it on the home page.
Would you be able to give me some code for that please. Thanks.