Live preview of themes, issue

I see that when click on live preview of item theme, opens demo of theme, but is not working, is only blank page. If hit x and close frame, all are ok.

I see this on all my themes joomla, wordpress and on other authors.

Somebody know something about this issue?


It’s not an issue with Envato, it’s actually an issue with your server:

Refused to display ‘’ in a frame because it set ‘X-Frame-Options’ to ‘sameorigin’.

The relevant headers sent back by your server are below - you can find these in the Network tab of your browser’s developer tools:

X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Nginx-Cache-Status: BYPASS

Setting X-Frame-Options to SAMEORIGIN means other websites, including ThemeForest, cannot embed your site in a frame. You need to either remove this header, or set it to something like:

X-Frame-Options: ALLOW-FROM
Content-Security-Policy: frame-ancestors;
1 Like


So i need to make in htaccess for all my demos, yes?

I will speak with hosting also, maybe they can make something.


Yes you can change this from htaccess, but these headers aren’t usually there by default, so if you’re not intentionally setting them then it is probably best to speak with your host first.

To whitelist ThemeForest with an .htaccess file, you can write the following line with mod_headers:

Header always append X-Frame-Options "ALLOW-FROM"
Header always append Content-Security-Policy "frame-ancestors;"