How to Stretch Featured Image Across Left and Mid Columns?

Events happening in the community are now at Drupal community events on www.drupal.org.
ithacaindy's picture

What CSS do I need to drop in to permit the featured image to span both the left and middle columns of the default OP theme?

Comments

You will need to redefine the

pkcho's picture

You will need to redefine the regions in the page-front.tpl.php or page.tpl.php file so it allows for something like that.

This is what is in the page-front.tpl.php by default:

<div id="sidebar-left">
  <?php print $left; ?>
</div>
<div id="op-content">
  <?php print $over_content; ?>
</div>
<div id="sidebar-right" class="sidebar"><!-- #sidebar-right -->
  <?php print $right; ?>
</div>

This is a tweak I did:

<div id="sidebar-right" class="sidebar"><!-- #sidebar-right -->
  <?php print $right; ?>
</div><div id="top-left">
  <?php print $top_left; ?>
</div>
<div id="sidebar-left">
  <?php print $left; ?>
</div>
<div id="op-content">
  <?php print $over_content; ?>
</div>

Then you have to define the new region in the theme.info file and then style it using css.

Hope this helps.
--Joe

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: