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

CommentFileSizeAuthor
omega.jpg229.47 KBcharlie charles
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Version: 7.x-4.0-beta7 » 7.x-4.x-dev
Component: Code » Documentation
Issue summary: View changes
vivek.addweb’s picture

@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.

<div class="container-12">
        <div class="l-feature grid-4" role="feature">
                <?php print render($page['feature_first']); ?>
        </div>
        <div class="l-feature grid-4" role="feature"> 
                <?php print render($page['feature_second']); ?>
        </div>
        <div class="l-feature grid-4" role="feature"> 
                <?php print render($page['feature_third']); ?>
        </div>
</div>

Let me know if you face any concern regarding this.

Thanks!

steinmb’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.