Why is my theme displayed ok in preveiw but not when veiwed live?