Closed (works as designed)
Project:
Noodle
Version:
7.x-2.0-beta2
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jun 2012 at 19:26 UTC
Updated:
29 Jun 2012 at 21:21 UTC
Hi,
I've been using your biolife theme on my website. However, when I place a block on region header blocks 3, it goes to header bottom. I think this is the cause of a misplaced clear:both. To demonstrate, I will attach screenshots.
Regards,
| Comment | File | Size | Author |
|---|---|---|---|
| biolife-3.png | 633.28 KB | kartagis | |
| biolife-2.png | 110.87 KB | kartagis | |
| biolife-1.png | 118.69 KB | kartagis |
Comments
Comment #1
sertaconay commentedHi.
First, the region which contains nothing doesn't appear.
I suggest you to change some CSS code.
.region-header-top {
float: left;
}
http://engelsizturkiye.info/sites/all/themes/noodle/base/base.css line 79 -->
region-header-blocks-3 {
float: right;
}
But if you add any blocks to header-blocks-1 or header-blocks-2 region you need to rewrite that CSS code.
Happy days.
Comment #2
betarobot commented@Kartagis: thanks for report, but as @sertaconay mentioned it is more of a feature rather then a bug.
So the general rule for header (or footer) 1,2,3 blocks is: any preceding block region should be populated, if not so it just collapses to the left (as empty block regions are not rendered at all).
Your block still resides in header 3 region, but as soon as there are no header 1 and header 2 it floats to the left.
The workaround might be to create empty-ish blocks for 2 preceding regions, then your header 3 will be present at exactly position you think of, without hacking base theme CSS.
And of course (as best practice) you can always clone sub-theme and add your own CSS to correct any layout issues for your very own theme.