Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi
Sorry for the newbie question
I'm sure yet how to do this with omega theme
I've made 3 new blocks
I want each block 4 region wide
simple.layout.inc
regions[feature_first] = First Feature
regions[feature_second] = Second Feature
regions[feature_third] = Third Feature
omega.info
regions[feature_first] = First Feature
regions[feature_second] = Second Feature
regions[feature_third] = Third Feature
simple-layout.tpl.php
<div class="l-feature" role="feature">
<?php print render($page['feature_first']); ?>
</div>
<div class="l-feature" role="feature">
<?php print render($page['feature_second']); ?>
</div>
<div class="l-feature" role="feature">
<?php print render($page['feature_third']); ?>
</div>
At moment the block are on top of each other.
Many Thanks for you help and time
Comment | File | Size | Author |
---|---|---|---|
omega.jpg | 229.47 KB | charlie charles |
Comments
Comment #1
DamienMcKennaComment #2
vivek.addweb CreditAttribution: vivek.addweb at AddWeb Solution Pvt. Ltd. for Parallax Information Technology commented@charlie,
Use "container-12" class for parent div and "grid-4" class for region.
You can use "container-12" class for main content area and "grid-*" class for column layout.
Let me know if you face any concern regarding this.
Thanks!
Comment #3
steinmb CreditAttribution: steinmb as a volunteer commented