Site logo

Archived topic

Header Widget Positioning

10 replies · Started by Andy on September 6, 2016

Viewing posts 1–11 of 11

Hi Tom,
When using the Float Right option for the Primary Nav position I would like the header widget to sit below the primary nav, is their a hook to achieve this or would it need custom CSS?

Cheers,

Andy

Hi Andy,

Hmm, you could try something like this:

.inside-header {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
}
    
.header-widget {
	-webkit-box-ordinal-group: 5;  
	-moz-box-ordinal-group: 5;     
	-ms-flex-order: 5;     
	-webkit-order: 5;  
	order: 5;
}
	
.main-navigation {
	-webkit-box-ordinal-group: 4;  
	-moz-box-ordinal-group: 4;     
	-ms-flex-order: 4;     
	-webkit-order: 4;  
	order: 4;
}

Thanks it worked after I added a clear to the widget but in the end decided it looked too busy/cramped with Nav, Cart and Search bar all in the same place, so went back to nav below header.

Sorry to have wasted your valuable time Tom.

No waste, I'm sure this topic will help someone :)

This is actually what I try to achieve all the time!

I wish there was an easier way to do this request: header widget to appear after nav menu (float right).

I've done this trick and it works, but is there a way to have this widget inside the header area?

Selecting after_header blows it out. See picture on what I am trying to achieve.
https://i.imgur.com/Ul8kD3E.png

https://elbertcountyagalliance.org

Hi there,

What if you add this CSS?:

.site-logo {
    float: left;
}

Thanks Tom!

You're welcome :)

This one worked for me

.inside-header {
display: flex;
flex-direction: column-reverse;
}

This archived topic is closed to new replies.