Posted by ithacaindy on March 6, 2011 at 4:44am
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?
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
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