html 联系表格wp style1

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html 联系表格wp style1相关的知识,希望对你有一定的参考价值。

.login-box {
  box-shadow: 0 2px 4px rgba(10,10,10,0.16);
  background: #fefefe;
  border-radius: 0;
  overflow: hidden;
}

.login-box .or {
      position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    display: inline-block;
    min-width: 2.1em;
    padding: 0.3em;
    border-radius: 50%;
    font-size: 0.6rem;
    text-align: center;
    font-size: 1.275rem;
    background: #655c5c;
    box-shadow: 0 2px 4px rgba(10,10,10,0.22);
    color: #fff;
}
}

@media screen and (max-width: 39.9375em) {
  .login-box .or {
    top: 85%;
  }
}

.login-box-title {
  font-weight: 300;
  font-size: 1.875rem;
  margin-bottom: 1.25rem;
}

.login-box-form-section,
.login-box-social-section-inner {
  padding: 2.5rem;
}

.login-box-social-section {
  background-color:#e7eae9;
  background-size: cover;
  background-position: center;
}

.login-box-input {
  margin-bottom: 1.25rem;
  height: 2rem;
  border: 0;
  padding-left: 0;
  box-shadow: none;
  border-bottom: 1px solid #1779ba;
  font-weight: 400;
}

.login-box-input:focus {
  color: #1779ba;
  transition: 0.2s ease-in-out;
  box-shadow: none;
  border: 0;
  border-bottom: 2px solid #1779ba;
}


.login-box-social-headline {
  display: block;
  margin-bottom: 2.5rem;
  font-size: 1.875rem;
 

}
<!-- ****** put it in to the row contact page-->

<div class="login-box">
  <div class="row collapse expanded">
    <div class="small-12 medium-6 column small-order-2 medium-order-1">
      <div class="login-box-form-section">
        <h1 class="login-box-title">Sign up</h1>
        <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

			    	<article id="post-<?php the_ID(); ?>" <?php post_class(''); ?> role="article" itemscope itemtype="http://schema.org/WebPage">				
    <section class="entry-content pagecont" itemprop="articleBody">
	    <?php the_content(); ?>
	    <?php wp_link_pages(); ?>
	</section> <!-- end article section -->
						
	<footer class="article-footer">
		
	</footer> <!-- end article footer -->
						    
	<?php comments_template(); ?>
					
</article> <!-- end article -->
			    
			    <?php endwhile; endif; ?>
      </div>
      <div class="or"><i class="fa fa-envelope-open" aria-hidden="true"></i></div>
    </div>
    <div class="small-12 medium-6 column small-order-1 medium-order-2 login-box-social-section">
      <div class="login-box-social-section-inner">
        <span class="login-box-social-headline">Enquiries</span>
          <?php the_field('form_code'); ?>
      </div>
    </div>
  </div>
</div>



<!-- ****** -->

以上是关于html 联系表格wp style1的主要内容,如果未能解决你的问题,请参考以下文章

联系表格 7 WP 主题在提交时未发送输入的信息

如何在联系表格 7 WP 中选中复选框

php 联系表格7删除autoformatting(wp-config.php)

wordpress 联系表 7 不发送 html 内容

“联系表格 7”日期字段无法正常工作

仅在需要时加载联系人表格7