drop-downs, dynamic width, style sheets

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

I'm a newbie to Omega 3. I'm running into problems I can't find answers to. I've looked in the handbook, which seems to be for Omega 2.

  1. I'm still not seeing my drop down links in the main menu. I've set the main and secondary menus to the same main menu. I see references to setting menu levels but I can't find where to do that. How do I do this?
  2. Right now I don't have anything in my sidebars and yet the content area is a fixed size and won't expand out the take up the extra room. Is there a way to make it dynamic?
  3. In terms of making edit to the styles, what is the basic process? Where would I put my style sheet in the css folder? What is the order of style sheets listed in the .info file?

Thanks.

Rick

Comments

Rick, Out of the box, Omega

rggoode's picture

Rick,

Out of the box, Omega doesn't produce dropdown menus by itself... You'll want to use a module like Superfish to add that functionality http://drupal.org/project/superfish. Then your primary, secondary, etc menus should work as you expect.

To make your layout fluid, just change the Grid system dropdown menu under the Grid settings tab in your sub-theme's settings from "Default (960px)" to "Fluid".

As for the CSS files, you want to be starting with a sub-theme (see http://groups.drupal.org/node/155974), and then you can just use the default CSS files that are built into that--after you rename them appropriately to match your subtheme (just be sure to use hyphens in the filenames, rather than underscores, as you do with the .info file... ie: my_subtheme.info becomes my-subtheme-alpha-default.css, and so on)

Roger

_________________

Art has gone to the dogs
GoodeGallery.com

Hey Roger, I suggest

banghouse's picture

Hey Roger,

I suggest directing noobs to http://drupal.org/node/1298672 in regard to subtheming. It's an easier read than the wiki and therefore easier to get folks up and running. Especially since Omega tools(http://drupal.org/project/omega_tools) makes subtheming dead simple.

And come see us in IRC sometime soon!

Thanks
Joel

Thanks Joel, I wasn't sure if

rggoode's picture

Thanks Joel,

I wasn't sure if I was going to the right place. But I wanted to try to contribute in some small way, as I haven't been able to do much of late. I've got some pressing family issues that have me somewhat distracted, so I haven't been on IRC for awhile. I look forward to finding the time and getting to know you and other denizens of the Omega channel better soon.

Roger

_________________

Art has gone to the dogs
GoodeGallery.com

No worries. I hope you're

banghouse's picture

No worries. I hope you're able to get things worked out to some good result. Like Motel 6 "We'll leave the light on for ya..."

drop-downs

ricksta's picture

I don't know where I got that idea. You're obviously right.

What "handbook" are you

banghouse's picture

What "handbook" are you referring to? The official handbook is not for Omega 2.x. The official handbook (http://drupal.org/node/819164) specifically targets the 3.x version of Omega. The handbook does not cover anything pre-D7 Omega 3.x. It is the most current documentation for Omega 3.x available at this time.

  1. Not sure what you're talking about in regard to menus. Omega doesn't generate menus. It only manages where your core menu items are placed in your page layouts. Check your core menu settings at admin/structure/menu.

  2. Check to make sure you have the Primary Region setting set to "content" in the Content Section-->Content Zone Configuration settings.

  3. http://drupal.org/node/1298700 - Stylesheets already exist. CSS in omega is mobile-first in load order.

Real-time help is available in #drupal-omega on IRC. It is highly recommended that omega users join this channel.

what are the points for?

ricksta's picture

in the upper right part of these boxes, what are the up and down arrows for that assign points?
Rick

They're just ratings to help

banghouse's picture

They're just ratings to help determine the usefulness of the comment.

handbook and config

ricksta's picture

banghouse,

I have the handbook now. Thanks for that.

I also have my Primary Region setting set to "content" in the Content Section-->Content Zone Configuration settings. Still there is a bunch on space on either side of the main content- a grid-3 class on both sidebars that are empty. in those settings, the "provide full width..." and "force this zone..." boxes are checked and the "customize the region positioning" is not checked.
Any more suggestions?

The style sheet link is what I needed, also.

Thanks.

R

Those regions are displaying

banghouse's picture

Those regions are displaying when content is not present because you have "Force this region to be rendered" selected. Deselect that setting for the regions/zones you don't want visible when content does not exist and you should be good to go.

regions not forced

ricksta's picture

I just checked in the content section>content zone>regions>... and sidebar first and second are not being forced to render.

R

They'll go away when the

scottrouse's picture

They'll go away when the debugging placeholder blocks are turned off.

grid and blocks off

ricksta's picture

I have them off.
BTW: I'm using an Omega 3 xhtml subtheme. I see docs for Omega 2 saying you can set the regions or zones to be dynamic. Is there anything like that in Omega 3?

R

So, all of these are

scottrouse's picture

So, all of these are unchecked? https://skitch.com/scottrouse/gqers/appearance-the-university-of-montana...

Are you viewing/testing as anonymous user?

ahhh... that did it.

ricksta's picture

Turning debugging off did it. So I have to leave all of those things off to see how my page will lay out?

Rick

Thank You.

Up to you

scottrouse's picture

It's up to you. I always theme develop with two browsers open. Logged in as admin in one browser to make changes and logged out in Firefox so I can use Firebug to test theme changes.

thanks

ricksta's picture

Since I'm new to Omega I'll have to start a "best practices." Stuff like this will help me immensely. I'm new to grids and responsive. I'm still looking at resources.
Thank you.

R

You need to install Delta &

banghouse's picture

You need to install Delta & Context to get dynamic layout functionality. See: http://drupal.org/node/1298616 <--- Install the recommended modules to unlock the real power of Omega.

Also you can keep the grid and debugging blocks on for development and toggle them on and off when needed by toggling the buttons in the upper right hand corner of your site page. Then once the site is out of development turn them off completely. They are useful to me in my process but its a matter of preference.

I'll throw in my $.02

cellar door's picture

Welcome to omega Rick!

Like the guys here have said the best resource we have for Omega 3.x is the handbook that banghouse linked to. It's by no means complete though and can always use feedback on how we can make it better for new users.

As Roger said, dropdowns are best achieved through the superfish module and can be edited quite readily in the stylesheets of Omega to adapt to the various screen sizes.

I believe the options for the regions to be "dynamic" refers to the ability of the zone/region to take over any unrendered columns in the grid should they be available (should no sidebars have content for example). This is enabled by default on the content region and I believe it's been replaced by the "primary region" option in the zone configuration.

Enjoy Omega and look forward to seeing you in IRC

Omega Framework

Group organizers

Group notifications

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