Hi All,

Again just working through the new processes. Are we able to set a full width region using susy within the "header"? Without getting hacky with css.

Thanks,
Ben

Comments

benjmarr’s picture

I should clarify... Running the "Magic" style but i have a few sections (header and nav) that i want to extend out to 100% of window width.

fubhy’s picture

Status: Active » Fixed

Apply the grid container to every element (except the two that you want to span 100%) separately instead of the entire body or page container. By not applying the grid container to the header and nav they will stay at 100%. I think the ohm-hero layout has an example for that?

benjmarr’s picture

Ill have a look at the ohm example and try work it out!! Once I have I will add to the documentation.

Loving the new workflow and processes!!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

kclarkson’s picture

Status: Closed (fixed) » Active

@fubhy,

I too am trying to have a full width header and footer. Could you let me know what file in OHM you are referencing as an example ? I have looked at both the layout.scss and the page.tpl.php and they look exactly the same.

It would be great to have a full width header and footer document in the theme already.

thanks,

fubhy’s picture

Status: Active » Fixed

I am referring to the ohm-hero layout template file ohm/layouts/ohm-hero.

I don't see the point of documenting specific layout setups or region layouts as that's really just a question of using CSS and HTML together. We can't document every single aspect of CSS and HTML "development" unless we want to be finished with the documentaiton in a timely manner. However, creating full-width footers and headers is not hard. Just don't apply any grid container or grid element mixin / css to it. Unless floated or otherwise manually altered, a HTML block element (like a div, for example) always spans 100% of it's container (full-width). So simply by doing *nothing* you will get a full width header/footer. In order to *add* gridded width constraints to an element you have to apply grid mixins/css to it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

added to