app/template/default/Block/Sp/lm_global_header.twig line 1

Open in your IDE?
  1. {% if isShowSpHeader() %}
  2. <style type="text/css">
  3.   {% if isSliderEnabled() %}
  4.     .swiper-wrapper .swiper-slide:not(:first-child){
  5.       display: none;
  6.     }
  7.   {% else %}
  8.     ul.bxslider {
  9.       height: 200px;
  10.       margin: 5px 0px;
  11.     }
  12.     .bxslider li:not(:first-child){
  13.       display: none;
  14.     }
  15.     .bx-viewport .bxslider li {
  16.       display: block !important;
  17.     }
  18.     {% endif %}
  19.   #ut-sp-global-navi h1 {
  20.     height: 21px;
  21.     line-height: 21px;
  22.   }
  23.   header nav ul li .cart-item-badge {
  24.     width: 21px;
  25.   }
  26.   header.fixed-menu {
  27.       padding-top: 0px;
  28.   }
  29.   header.fixed-menu nav#ut-sp-global-navi {
  30.       border-top: none;
  31.       border-bottom: none;
  32.   }
  33.   header nav {
  34.     position: unset;
  35.   }
  36. </style>
  37. <header class="fixed-menu">
  38.     {% if custom_menu is not defined %}
  39.         {% set custom_menu = null %}
  40.     {% endif %}
  41.     {% if recentviews is not defined %}
  42.         {% set recentviews = [] %}
  43.     {% endif %}
  44.     {% if custom_frequently_searched_word is not defined %}
  45.         {% set custom_frequently_searched_word = null %}
  46.     {% endif %}
  47.     {% if other_category_path_map is not defined %}
  48.         {% set other_category_path_map = [] %}
  49.     {% endif %}
  50.   {{ sp_header(main_h1 ?? '', category_h1 ?? '', h1_comment ?? '', data ?? '', custom_menu, recentviews, custom_frequently_searched_word, other_category_path_map) }}
  51. </header>
  52. {% endif %}