By default, Genesis includes a widget area for most child themes which displays content in the right side of the header.
If you change the height of your header area for any reason, you may need to re-position where the content in your header right widget displays.
Here’s the default CSS rules you can use to position your header right widget.
.site-header .widget-area {
float: right;
width: 75%;
}
Note: CSS classes Work with HTML 5 themes only.
You can easily add new declarations to this rule and re-position your widget in the header.
Adding Padding
You can add padding to the above code to change the position of your header widget.
Here’s some examples of padding properties which you can use to adjust the values based on where you want your widget content to display in your header:
.site-header .widget-area {
float: right;
width: 75%;
padding-top:50px;
padding-bottom:50px;
padding-right:100px;
padding-left:100px;
}
Simple change the values for each property to change the position of your widget content.
Once you’ve got the position right, you might want to style your widget depending on what you drag into this widget area.
Header Left Widget
Here’s a tutorial about how to add a header left widget in Genesis.
Leave a Reply
You must be logged in to post a comment.