app/template/default/Block/media.twig line 1

Open in your IDE?
  1. {% block stylesheet %}
  2. <style>
  3. .ec-layoutRole {
  4.     background:#fbfbfb !important;
  5. }
  6. .res_iframe {
  7.   position: relative;
  8.   width: 100%;
  9.   height: 450px; /* = height ÷ width × 100 */
  10. }
  11. .res_iframe iframe {
  12.   position: absolute;
  13.   top: 0;
  14.   left: 0;
  15.   width: 100%;
  16.   height: 450px;
  17. }
  18. </style>
  19.   
  20. {% endblock %}
  21. <div class="res_iframe">
  22. <iframe id="inline-frame" frameborder=0 scrolling=”no”
  23.   width="1200x"
  24.   height="400px"
  25.   src="https://kofun.co.jp/latestnews">
  26. </iframe>
  27. </div>