I need some help! My last work has a problem with Themeforest top bar. For some reason the demo is working fine but when I try to see the preview (which includes Themeforest top bar some scripts stop working). Any idea?
Themeforest item: http://themeforest.net/item/candidate-political-donation-landing/7143739
Demo here: http://candidate.coralixthemes.com/
<script>if ( top !== self ) top.location.replace( self.location.href );</script>
Hi, Thank for your help. I try this with my custom top bar but it didn’t work.
I guess it’s because some JS codes are not permitted to load when your site is loaded in an iframe from another domain name than your site.
This is why I’ve removed the default ThemeForest top bar on my latest item with one on my own host.Cheers,
Hope this helps.