diff --git a/profiles/wcm_base/themes/ocio_omega_4/templates/panes/fieldable-panels-pane--tile-pane.tpl.php b/profiles/wcm_base/themes/ocio_omega_4/templates/panes/fieldable-panels-pane--tile-pane.tpl.php new file mode 100644 index 0000000000000000000000000000000000000000..0d3db8c6206d81a62561697336c91ded3e2ab445 --- /dev/null +++ b/profiles/wcm_base/themes/ocio_omega_4/templates/panes/fieldable-panels-pane--tile-pane.tpl.php @@ -0,0 +1,8 @@ +<div<?php print $attributes; ?>> + <a href="<?php print $tile_url; ?>"> + <?php print render($content['field_tile_background_img']); ?> + <div class="title-box"> + <div class="title-text"><h2><?php print $tile_title; ?></h2></div> + </div> + </a> +</div> diff --git a/profiles/wcm_base/themes/ocio_omega_base/js/ocio-omega-base.behaviors.js b/profiles/wcm_base/themes/ocio_omega_base/js/ocio-omega-base.behaviors.js index 178e5d5bc4e565e82dd41cc590aa4a23d8a7c1d5..0833596c1d2be089342c30b3128eb5c41f1ab041 100644 --- a/profiles/wcm_base/themes/ocio_omega_base/js/ocio-omega-base.behaviors.js +++ b/profiles/wcm_base/themes/ocio_omega_base/js/ocio-omega-base.behaviors.js @@ -51,7 +51,7 @@ }); /* Match tile panes to equal height */ - $('.node-type-ocio-landing-page .row-tiles .tile-panel .fieldable-panels-pane').matchHeight({byRow: false}); + $('.node-type-ocio-landing-page .row-tiles .tile-panel .fieldable-panels-pane').matchHeight(); var toggleButton = $('#search-block-toggle').eq(0); var searchBox = $('#search-block-form').eq(0); @@ -66,6 +66,7 @@ toggleSearchBox(event); }); + /* Move Media Magnet channel icon to title area if only one channel is selected */ $(document).ajaxSuccess(function( event, request, settings ) { if (settings.url.indexOf("mediamagnet.osu.edu/api") >= 0 ) { $('.pane-mm-widgets-live-pane.mm-channel-type-undefined').each(function() { diff --git a/profiles/wcm_base/themes/ocio_omega_base/templates/panes/fieldable-panels-pane--tile-pane-plus-text-area.tpl.php b/profiles/wcm_base/themes/ocio_omega_base/templates/panes/fieldable-panels-pane--tile-pane-plus-text-area.tpl.php index 8d811755d2b9515ac25cfcbc7d65ba27c6bbb014..9e77459d83044e91e110624f015e908642982c24 100644 --- a/profiles/wcm_base/themes/ocio_omega_base/templates/panes/fieldable-panels-pane--tile-pane-plus-text-area.tpl.php +++ b/profiles/wcm_base/themes/ocio_omega_base/templates/panes/fieldable-panels-pane--tile-pane-plus-text-area.tpl.php @@ -1,7 +1,6 @@ <div<?php print $attributes; ?>> <a href="<?php print $tile_url; ?>"> <?php print render($content['field_tile_background_img']); ?> - <div class="text-areas"> <h2><?php print $tile_title; ?></h2> <?php print render($content['field_tile_text_area']); ?>