app/template/default/Block/CustomHeader.twig line 47

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. <div class="ec-headerNaviRole__center">
  9.     <p>5,000円(税込)以上の購入で送料無料</p>
  10. </div>
  11. <div class="ec-headerNaviRoles">
  12.     
  13.     <div class="ec-headerNaviRole__left">
  14.         <div class="customLogo">
  15.         <a href="{{ url('homepage') }}">
  16.             <img src="{{ asset('/html/user_data/ContentImg/iseya_logo.png') }}" alt="ショップロゴ" class="Logo-img">
  17.         </a>
  18.         </div>
  19.         <div class="ec-headerRole__navSP">
  20.             {{ include('Block/nav_sp.twig') }}
  21.         </div>
  22.     </div>
  23.     <div class="ec-headerNaviRole__right">
  24.         <div class="ec-headerNaviRole__nav">
  25.             {{ include('Block/login.twig') }}
  26.         </div>
  27.         <div class="ec-headerRole__cart">
  28.             {{ include('Block/cart.twig') }}
  29.         </div>
  30.     </div>
  31.     <div class="about_SP">
  32.         <a href="{{ url('user_data', {'route': 'about'}) }}" class="about-banner">
  33.           <div class="about-banner-container">
  34.             <img src="/html/user_data/ContentImg/iseya_logo.png" alt="パン屋ロゴ" class="about-banner-logo">
  35.             <span class="about-banner-text">伊せ屋について</span>
  36.           </div>
  37.         </a>    
  38.     </div>
  39.     
  40. </div>
  41. <div class="search_bar">
  42.     {{ render(path('block_search_product')) }}
  43. </div>
  44. <style>
  45. .ec-headerNaviRole__center{
  46.     text-align: center;
  47.     background: #7e300b;
  48.     padding:0.5rem;
  49.      color: white;
  50. }
  51. .ec-cartNaviNull {
  52.     width: 300px;
  53.     
  54. }
  55. @media (max-width: 768px) {
  56. .ec-cartNavi {
  57. padding: 0 4px;
  58. }
  59. }
  60. </style>