Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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