687 posts Fuel Your Web
  • Elite Author: Sold more than $75,000 on Envato Market
  • Won a competition
  • Had an item featured on Envato Market
  • Has been part of the Envato Community for over 8 years
+4 more
Pirenko
says

@Smartik: I have tested the script and its working perfect. This is what I was looking for. @Pirenko: The extra code is supposed to be added only in demos (Live preview) for removing the frame but not in the final package which will be given to the buyers.
Yes, but every time that you update the preview theme files (theme update) you need to repeat that code insertion. Anyway, it was just my 2 cents. Cheers :nerdy:
559 posts Code is Poetry
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has referred 100+ members
  • Has collected 10+ items on Envato Market
+3 more
egemenerd
says


@Smartik: I have tested the script and its working perfect. This is what I was looking for. @Pirenko: The extra code is supposed to be added only in demos (Live preview) for removing the frame but not in the final package which will be given to the buyers.
Yes, but every time that you update the preview theme files (theme update) you need to repeat that code insertion. Anyway, it was just my 2 cents. Cheers :nerdy:

You can make a child theme for the demo ;)

1353 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+4 more
Smartik
says



@Smartik: I have tested the script and its working perfect. This is what I was looking for. @Pirenko: The extra code is supposed to be added only in demos (Live preview) for removing the frame but not in the final package which will be given to the buyers.
Yes, but every time that you update the preview theme files (theme update) you need to repeat that code insertion. Anyway, it was just my 2 cents. Cheers :nerdy:
You can make a child theme for the demo ;)
If it’s wordpress, it’s simple, a plugin and just activate for every theme you need. If HTML, you basically have to do additional work to replace all demo images with placeholders, why would it be hard to include a single line? A multi-file search and replace, can do it in a second. ;)
239 posts Marketplace Developer
  • Has collected 1+ items on Envato Market
  • Member of the Envato Team
  • Located in New Zealand
  • Has been part of the Envato Community for over 3 years
madlep
Envato team
says

Sounds nasty.

Have passed that on to our front end devs for them to take a look at.

37 posts
  • Has been part of the Envato Community for over 3 years
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+1 more
VicTheme
says

In my case the Iframe seems to trigger resize events on height change thus create infinite loops. Strangely only occurs on iPad not windows on linux (chrome, IE, firefox)

by
by
by
by
by
by