要为wordpress制作全宽图像

时间:2020-08-22 10:26:22

标签: php css wordpress web

我想复制类似的内容 enter image description here

现在我有 enter image description here

我现在拥有的代码

<header class="page-header">
                        <?php if (function_exists('z_taxonomy_image')) z_taxonomy_image(); ?>
                        <?php
                        the_archive_title( '<h1 class="page-title">', '</h1>' );
                        the_archive_description( '<div class="archive-description">', '</div>' );
                        ?>
                    </header><!-- .page-header -->

我应该怎么做

页面标题CSS:

    .page-header {
  background: #fff;
  margin-top: 0;
  border-radius: 0.375rem;
  -webkit-box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  padding: 2rem;
  margin-bottom: 3rem;
}

PS使用一个插件,该插件可以让我上传类别图片,并且显示图像的行是

0 个答案:

没有答案
相关问题