How to Make Blogger Header Expand the Width of the Browser

So in this segment, we will customize and expand the blogger's header section to the width of browser.

Blogger Header Expand the Width

Increasing the Width of Blogger Header in Simple Way

1. Go to Layout > Edit HTML, backup your template.

2. Find this section in your template code:

#header-wrapper {
width: 660px;
border: 1px solid #ffffff;
margin:0 auto 10px;
border:1px solid $bordercolor;
}

The bold code can be different in different templates.

And increase 660px to 950px. This will look like:

#header-wrapper {
width: 950px;
border: 1px solid #ffffff;
margin:0 auto 10px;
border:1px solid $bordercolor;
}

Also change the outer-wrapper and footer width to 950px.

3. Preview for errors and save it when it's done.

Advance Way to Increase Blogger Header's Width Across the Browser

If you want to expand the background color of blogger header section across the width of the browser, then apply this tutorial.

1. Copy the code below and paste this just before the closing ]]></b:skin> in your template:

#header-expand {
background: #333333;
}

2. Find this section in your template code:

<div id='header-wrapper'>
<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='true' title='Your Blog Title (Header)' type='Header'/>
</b:section>
</div>

And delete this.

Find:

<div id='outer-wrapper'>
And paste the following code just before it:
<div id='header-expand'>
<div id='header-wrapper'>
<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='true' title='Your Blog Title (Header)' type='Header'/>
</b:section>
</div>
</div>

3. Now Preview your template for confirmation and save it.

You can change the background color of the header section by substituting #333333 for your chosen hex value or even by your image in the style of outer-header.
Like For example:

#header-expand {
background: #ffcc66 url(Your hosted image URL);
}

So you got your style and increased the width of your Blogger template header section with the width of the browser. Now all you have customize it accordingly to match your style.

To be Noted:
This works only with layout templates.

Popular posts from this blog

How to Add Extra Gadget/Widget Section to Blogger Header

Blogger Dynamic View Templates Pros and Cons

Add Google Web Fonts to Blogger