app/template/default/Block/header.twig line 66

Open in your IDE?
  1. {#
  2. This file is part of EC-CUBE
  3. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  4. http://www.ec-cube.co.jp/
  5. For the full copyright and license information, please view the LICENSE
  6. file that was distributed with this source code.
  7. #}
  8. {% block stylesheet %}
  9.     <style>
  10.         .kofun-header {
  11.             position: fixed;  /* 固定表示 */
  12.             top: 0;          /* 画面上部に配置 */
  13.             left: 0;         /* 左端に配置 */
  14.             width: 100%;     /* 幅を100%に */
  15.             z-index: 1000;   /* 他の要素より前面に表示 */
  16.         }
  17.         /* ヘッダーの下にコンテンツが隠れないように、bodyにパディングを追加 */
  18.         body {
  19.             padding-top: 213px;  /* ヘッダーの高さに応じて調整 */
  20.         }
  21.                 @media only screen and (max-width: 768px) {
  22.                         body {
  23.             padding-top: 121px;  /* ヘッダーの高さに応じて調整 */
  24.             }
  25.                 }
  26.         .ec-headerSearch .ec-headerSearch__keyword {
  27.             border: 0px;
  28.         }
  29.         .ec-headerNaviRole {
  30.             max-width: 100% !important;
  31.                         background-color: #fff;
  32.             padding-top: 0px;
  33.         }
  34.         .ec-headerNaviRole__nav{
  35.             margin-right: 10px;
  36.         }
  37.         .ec-cartNavi{
  38.             padding-bottom:20px;
  39.             height: 35px;
  40.         }
  41.         .ec-cartNavi__price{
  42.             padding-bottom:15px;
  43.         }
  44.     </style>
  45. {% endblock %}
  46. <div class="kofun-header">
  47.     <div class="ec-headerNaviRole">
  48.         <div class="ec-headerNaviRole__left">
  49.             <div class="ec-headerNaviRole__search">
  50.                 {{ render(path('block_search_product')) }}
  51.             </div>
  52.             <div class="ec-headerRole__navSP">
  53.                 {{ include('Block/nav_sp.twig') }}
  54.             </div>
  55.         </div>
  56.         <div class="ec-headerNaviRole__right">
  57.             <div class="ec-headerNaviRole__nav">
  58.                 {{ include('Block/login.twig') }}
  59.             </div>
  60.             <div class="ec-headerRole__cart">
  61.                 {{ include('Block/cart.twig') }}
  62.             </div>
  63.         </div>
  64.     </div>
  65.     <div class="site-logo">
  66.         <a href="{{ url('homepage') }}" title="古墳の窓口">
  67.             <img fetchpriority="high" src="{{ asset('assets/img/top/logo_kofunomadoguchi.png') }}" alt="古墳の窓口">
  68.         </a>
  69.     </div>
  70. </div>