daily pastebin goal
9%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="banners row">
  2.     <style>
  3.         .banners__slider__item__image {
  4.             background-size: cover;
  5.             background-repeat: no-repeat;
  6.             width: 100%;
  7.             height: 100%;
  8.         }
  9.     </style>
  10.     <div class="col-md-8 banners__slider">
  11.         <div class="slider">
  12.             {% for banner in banner_list %}
  13.             <a href="{{ banner.url }}"
  14.                target="_blank"
  15.                class="banners__slider__item"
  16.             <div style="background-image: {% cropped_thumbnail banner "slider_cropping" %};"
  17.                  class="banners__slider__item__image"></div>
  18.             </a>
  19.             {% endfor %}
  20.  
  21.         </div>
  22.     </div>
  23.     <div class="col-md-4 banners__mini">
  24.         {% if banner_top %}
  25.         <a href="{{ banner_top.url }}"
  26.            target="_blank"
  27.            class="banners__mini__item"
  28.         <div style="background-image: {% cropped_thumbnail banner 'additional_cropping' %};"
  29.              class="banners__slider__item__image"></div>
  30.         </a>
  31.         {% endif %}
  32.         {% if banner_bottom %}
  33.         <a href="{{ banner_bottom.url }}"
  34.            target="_blank"
  35.            class="banners__mini__item"
  36.         <div style="background-image: {% cropped_thumbnail banner 'additional_cropping' %};"
  37.              class="banners__slider__item__image"></div>
  38.         </a>
  39.         {% endif %}
  40.     </div>
  41. </div>
RAW Paste Data
Top