Active
Project:
Omega
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Jul 2011 at 06:10 UTC
Updated:
7 Oct 2012 at 21:16 UTC
The "force this region to be rendered" setting does not seem to stick. ( my testing was limited to the user bar regions )
I've put the search form block in the userbar second region. Set teh user bar first region to "force this region to be rendered" but it does not. This the user bar second shifts to the far right.
Comments
Comment #1
fubhy commentedIf you have nothing in a region (even if its forced and rendered) it wont have a height in css (height: 0;) ... Elements with height: 0 dont appear on your screen. So if you plan to force a region without any content you should at least give it a height in css.
Comment #2
vm commentedgotcha. So let's switch to a feature request perhaps?
I'd suggest a note to that effect in the description for this setting. Perhaps a dynamic setting when that radio is selected that allows the height to be set from the UI ?
Comment #3
fubhy commentedWe wont have anything like a height dropdown where the user would be able to select a height. This would mean that we would have to create some useless CSS classes or set the height in the markup which is dirty. I might introduce a class named "forced-region" / "forced-zone" and then give those a min-height of 1px. Not sure about that yet tho.
Comment #4
essbee commentedI think the min-height 1px default setting would be a good option.
I just got caught out by this before finally twigging to what was going on.
Comment #5
scelza commented+1 for min-height styled class if forced render is checked.
Comment #6
filnug commented.region-sidebar-first{min-height:1px; }worked fine for me !Comment #7
sb24 commentedAnother damn bug. Not a happy with this type of work around. Seems sloppy and will probably cause issues later I bet.
Comment #8
vm commentedI'm guessing the user in comment #7 didn't read comment #3. AS comment #6 illustrates getting the effect to take hold isn't difficult and I'd rather add a line or three than have a bloated CSS file covering every possible combination of equal heights and non equal heights.
switching assignment made in #6