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,

CommentFileSizeAuthor
biolife-3.png633.28 KBkartagis
biolife-2.png110.87 KBkartagis
biolife-1.png118.69 KBkartagis

Comments

sertaconay’s picture

Hi.

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.

betarobot’s picture

Status: Active » Closed (works as designed)

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