Update: I sorted the original problem out and now have a more general question about the how-to of changing this tpl file.
Secondly I would like to now why the layout in full-width so completely varies from the original (now block regions under the footer etc.
Hi Jeff,
I want to use the full width option but noticed that using said setting drops the menu bar region below the sitename. Ordinarily the menu bar (in Corolla) is on the absolute top of the page.
Is this intended behavior? If so how could I use the full width wrapper and have the menu bar on top (guess I would have to change the tpl.php file *gulp*)?
The fact that the menu looks unusable is due to #1754460: parent menu item not visible, I guess?
Normal:
Using the full-width-wrappers.tpl.php (where you can only see the home item):
Comment | File | Size | Author |
---|---|---|---|
menubar up.png | 75.52 KB | dddave | |
menubar below.png | 35.98 KB | dddave |
Comments
Comment #1
dddave CreditAttribution: dddave commentedMan, sometimes I embarass myself really hard. Just noticed that Corolla has its own page.tpl and that I can easily copypaste and manipulate the full-with-wrappers.tpl.
My question now simply boils down to: What is the best practice here? Where do I put what? Anything I should think off?
Comment #2
dddave CreditAttribution: dddave commentedChanging title
Comment #3
Jeff Burnz CreditAttribution: Jeff Burnz commentedDepends on what you are trying to do exactly.
The main thing to account for is the .container class, this sets the width on the "contained" area, i.e. when you set a max-width in the theme settings this is the class it gets applied to, so maintaining a structure like the following where:
<div id="menu-bar-wrapper">
, because this is what your full width background will be applied to in CSS.<div class="container clearfix">
. As mentioned before you must have the.container
class, the clearfix is optionalHope that helps and makes some sense.
Comment #4
dddave CreditAttribution: dddave commentedThat does help me understanding all this. Thanks. Final ;-) question: what is the reasoning for completely omitting regions in full-width. Things like 3x33 or 4x25 near footer regions only exists (originally) in the generig page.tpl. Adding something of this back in shouldn't be a problem, should it? I am experimenting and so far I think it looks as it should.
Comment #4.0
dddave CreditAttribution: dddave commentedBeen wiser