-
AuthorPosts
-
March 14, 2017 at 9:34 pm #760988
Hi,
I searched the forum, but I can’t find a solution.
I just want a page with a Slider then i like to choose a pagetemplate (for example BLANK) and then display this page (with a Layer Slider) as a iframe on another webpage. I tried this with the blank theme and hidden enfold elements (Sidebar, Header etc) but i get a white space at the top and this moves the slider down and “outside” the iframe.
Hope you can send me a template.php file like this one DOWNLOAD: http://d.pr/f/gkV7 you have provided for another user. BUT there is a hardcoded weblink in it that i dont need.
Thanks for your help
SaschaMarch 14, 2017 at 10:29 pm #761002Hey macuser74,
You should be able to just save the following into a .php file:
<?php /* Template Name: Iframe */ ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> body{ margin: 0; } iframe{ width: 100%; height: 100%; border: 0; position: absolute; } </style> </head> <body> <iframe src="https://kriesi.at" frameborder="0"></iframe> </body> </html>
Let me know if this is what you needed.
Best regards,
Jordan ShannonMarch 15, 2017 at 10:04 am #761255Thank you for your reply but i wrote:
Hope you can send me a template.php file like this one DOWNLOAD: http://d.pr/f/gkV7 you have provided for another user. BUT there is a hardcoded weblink in it that i dont need.
I dont want a file with a hardcoded Link inside I like to have a really blank template which i can use in another webpage. Screenshot http://d.pr/i/9QAO The blank template that is alredy in this Dropdown produces a space at the top.
Thank you for your help again.
Kind regards SaschaMarch 15, 2017 at 5:22 pm #761517Hi,
If you use the above template there should be no hardcoded link at all nor anyspacing.
You can also look into this plugin if it helps:
https://wordpress.org/plugins/blank-slate/
Best regards,
Jordan Shannon -
AuthorPosts
- You must be logged in to reply to this topic.