To reproduce:

*Create subtheme and uncheck logo and/or menu.
*Go into blocks and add logo and/or menu into one of the Omega zones such as menu or header. *Add logo and/or menu.

So far so good. We have a logo and/or menu on our Omega subtheme with all defaults and hyperlinks work with both.

Now add css style

.block-menu {
padding: 20px 0 0 0;
}

Don't remember the class for block logo off the top of my head but you can do the same for that one. You can also use margin instead of padding. Both produce the problem.

Now if you try hyperlinks you will find they don't work or they only work for a small sliver at the top of the logo/text. So the hyperlink does not follow the movement of the block and the logo/menu in that block when moved using padding or margin css style. One very poor workaround is to add display:block; and then padding:0 0 20px 0; to the "a" css style for the menu text which creates a large hyperlink area extending below the menu text so when you move it down the menu text is still kinda sorta in the range of the hyperlink block.

It's not much of a workaround though and if I cannot find a solution to this I will have to abandon this project and use another base theme. I'm no expert on css so I could very well be doing something dumb but I have googled quite a bit and tried moving the menu in various regions zones etc. and it's always the same thing. So now I am posting here as a last resort.

Comments

mustardman’s picture

Ok so I am still learning the Omega way and I figured out that I can check the logo and main menu check marks on the theme and then put them in whatever zone I want using the zone/region configuration which is where a lot of the Omega goodness is. When I do that the logo and menu responds to css styles properly.

However, it's also possible to add logo and menu using blocks which is a function built into drupal core. That is what I was doing before and it doesn't seem to work 100% with Omega and CSS. So I suppose there should be a recommendation on this or perhaps it can be fixed. The Omega documentation says content should always be added with blocks. There should probably be a note in the documentation that Drupal generated elements such as logo and menus should be done in the theme and not with blocks because it doesn't seem to work.