EuropeWonder/template-inquiry.php

75 lines
1.4 KiB
PHP

<?php
/**
* Template Name: Inquiry Page Template
*
* To je preprost template za prikaz Jotform obrazca.
*/
get_header(); ?>
<div class="inquiry-page">
<div class="container">
<h1><?php the_title(); ?></h1>
<p class="inquiry-subtitle">Tell us your wishes and we will create a custom tour for you</p>
<div class="jotform-container">
<script type="text/javascript" src="https://form.jotform.com/jsform/251246404215346"></script>
</div>
</div>
</div>
<style>
.inquiry-page {
padding: 4rem 0;
background-color: #f7f7f7;
min-height: 80vh;
}
.inquiry-page .container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
}
.inquiry-page h1 {
text-align: center;
color: var(--dark);
margin-bottom: 1rem;
font-size: 2.5rem;
}
.inquiry-subtitle {
text-align: center;
color: #666;
font-size: 1.2rem;
margin-bottom: 2rem;
}
.jotform-container {
background: white;
padding: 2rem;
border-radius: 8px;
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
.inquiry-page {
padding: 3rem 0;
}
.inquiry-page h1 {
font-size: 2rem;
margin-top: 50px;
}
.inquiry-subtitle {
font-size: 1.1rem;
}
.jotform-container {
padding: 1rem;
}
}
</style>
<?php get_footer(); ?>