Home > Tutorial > Resize Blogger Header Image
Resize Blogger Header Image
Posted on Friday, November 12, 2010 by android apps market for tablests
Blogger does not provide you an easy way to resize your header image. Imagine how troublesome it is to get your image's dimensions to be perfect before you can actually upload it to Blogger. But usually we face a less-than-ideal case. So we'll be left with only one option, to resize our original image and then re-upload them.
In this tutorial, I will share with you 2 methods on how you can resize your image directly by tweaking some code without having to resize your original image and reupload this image to Blogger. Of course, you can always opt to resize your image (using MS Paint, Photoshop or online image resizing websites like http://www.resizeyourimage.com/) and then reupload your image to Blogger. But it's always more convenient to just change a number or two and see an instant change in your header's image.
UPDATE: If you're a beginner, check this link out instead.
I will be using Simple Template by Josh Peterson in this tutorial. It should work with other built-in and third party templates as well. If it doesn't, the idea still remains the same. It's hard to provide one generalised solution to all the templates out there.
IMPORTANT NOTE:
This tweak will not work if you choose to display your title and description over your header image. This is because when your title is displayed, technically your header image acts as a background (instead of an image object). It is not possible to conveniently style the size of a background image, although there is a CSS3 property that can be used (background-size). Unfortunately, at the time this tutorial was written, most browsers do not support CSS3 yet. So you'd have to hide your title and description to allow this tweak to work for now. To hide your title and description, go to Page Elements/Layout - Edit on Header - under Placement, choose 'Instead of Title and Description'.
In this tutorial, I will share with you 2 methods on how you can resize your image directly by tweaking some code without having to resize your original image and reupload this image to Blogger. Of course, you can always opt to resize your image (using MS Paint, Photoshop or online image resizing websites like http://www.resizeyourimage.com/) and then reupload your image to Blogger. But it's always more convenient to just change a number or two and see an instant change in your header's image.
UPDATE: If you're a beginner, check this link out instead.
I will be using Simple Template by Josh Peterson in this tutorial. It should work with other built-in and third party templates as well. If it doesn't, the idea still remains the same. It's hard to provide one generalised solution to all the templates out there.
IMPORTANT NOTE:
This tweak will not work if you choose to display your title and description over your header image. This is because when your title is displayed, technically your header image acts as a background (instead of an image object). It is not possible to conveniently style the size of a background image, although there is a CSS3 property that can be used (background-size). Unfortunately, at the time this tutorial was written, most browsers do not support CSS3 yet. So you'd have to hide your title and description to allow this tweak to work for now. To hide your title and description, go to Page Elements/Layout - Edit on Header - under Placement, choose 'Instead of Title and Description'.
Method 1:
If you're using the old Blogger interface: Go to Dashboard - Design - Edit HTML - Back Up (Download Full Template) - Check the box next to 'Expand Widget Templates'
If you're using the new Blogger interface: Go to Dashboard - Template - Backup/Restore - Download Full Template - Close - Edit HTML - Proceed - Check the box next to 'Expand Widget Templates'
Find for the following lines:
And this is how the new code looks like:
If you're using the old Blogger interface: Go to Dashboard - Design - Edit HTML - Back Up (Download Full Template) - Check the box next to 'Expand Widget Templates'
If you're using the new Blogger interface: Go to Dashboard - Template - Backup/Restore - Download Full Template - Close - Edit HTML - Proceed - Check the box next to 'Expand Widget Templates'
Find for the following lines:
<img expr:alt='data:title' expr:height='data:height'Replace the above lines with the one I have below.
expr:id='data:widget.instanceId + "_headerimg"' expr:src='data:sourceUrl'
expr:width='data:width' style='display: block'/>
<img expr:alt='data:title' expr:height='data:height'All you have to do now is adjust the width from 100% to some other number. To increase it, you can go beyond this number. 200% for example, though your image will become pixelated.
expr:id='data:widget.instanceId + "_headerimg"' expr:src='data:sourceUrl'
expr:width='data:width' style='display:block; height:auto; width:100%;'/>
And this is how the new code looks like:
Method 2:
In this method, you'd have to identify your image's ID, and use this ID to style your header image. I chose this as Method 2 because identifying your header image's ID is not a convenient process. Check out this tutorial on how you can identify your image's ID. Go ahead and look for your header image's ID when you're ready. This is what my Firebug's inspection shows:
My image ID is Header1_headerimg. Now that I have my image's ID, I can easily style this image using CSS. Copy this ID and head over to Template Designer - Advanced - Add CSS - paste the following code - Press enter after the last character of the last line } - Apply to Blog.
In this method, you'd have to identify your image's ID, and use this ID to style your header image. I chose this as Method 2 because identifying your header image's ID is not a convenient process. Check out this tutorial on how you can identify your image's ID. Go ahead and look for your header image's ID when you're ready. This is what my Firebug's inspection shows:
My image ID is Header1_headerimg. Now that I have my image's ID, I can easily style this image using CSS. Copy this ID and head over to Template Designer - Advanced - Add CSS - paste the following code - Press enter after the last character of the last line } - Apply to Blog.
#Header1_headerimg{
width: 100%;
height: auto;
}
Same concept as before, you just have to adjust the percentage and your header image will change. Have fun!Category Article Tutorial
Powered by Blogger.
Blog Archive
-
▼
2010
(1682)
-
▼
November
(197)
- Info Product "T-Mobile Comet " 3G HSDPA Android P...
- Full Info Specification "Samsung A667 Evergreen" 3...
- Video: How To Hotpot
- Adding Buttons to Blogger Header
- Info Specification "Motorola MOTO MT716" Android S...
- New Info Product "Nexian Sound Box(Nexian NX-G509)...
- Namesake
- When Nature Pays A Visit
- iTunes won't backup iPad when syncing
- Info Specification about "Nokia C2-01" Handphone M...
- Info Specification Product "LG GS390 Prime" 3.0 in...
- No sound in apps since iOS 4.2 update
- Spirits for iPad
- How to Fix iPad No 3G service after 4.2 upgrade
- UNLOCKED DELL STREAK�S WITH NEW COLOR CHOICE AND ...
- APPLE IPAD ACASE SLIMLINE PREMIUM LEATHER CASE FOR...
- FUJITSU DISPLAYS A NEVER BEFORE SEEN 10-INCH WINDO...
- ACER UNVEILS SLIM AMD BASED WINDOWS 7 10-INCH TABL...
- ASUS U36 ULTRATHIN NOTEBOOK WITH CORE I3 & I5 13.3...
- iPad 2nd generation brings new features
- NETBOOK COMPAQ MINI CQ10-405DX AND CQ10-525DX
- TOP 10 BLACK FRIDAY WEB HOSTING DEALS
- Blogger Floating Footer
- T-mobile BOGO Promotion Now Begin
- Christmas Countdown Gadget
- How to get screen rotate lock switch back iPad iOS...
- Mail app crashes routinely on iOS 4.2.1
- iPad battery drains in sleep mode on iOS4.2
- iPad Notes only in landscape mode after upgrading ...
- Info Specification Product "T-Mobile Vibe E200" Ch...
- IOS 4.2 DIRECT DOWNLOAD LINKS LIST
- SONY PLAYSTATION PHONE SPECIFICATION
- Open Blogger Links in New Tabs
- How I�m Using Hotpot to Plan My Thanksgiving Weekend
- AirPrint - No Mail Print Icon but Safari and Photo...
- How to delete Game Center from iPad?
- MobileMe Account not verified with Find my iPad
- Product Info Specification Android Smartphone "Mot...
- Map Your Favorite Places Along the Macy�s Parade R...
- IDs and Classes for Beginners
- Remove Space between Blogger Posts
- Remove Space between Gadgets in Blogger Sidebar
- iPad stuck on cancelling sync
- AirPrint Setup on the iPad
- Most-Rated Google Places
- We Have Gone to SouthernSpeakers.net
- Music, Videos lost after iPad updated to iOS 4.2
- How Many iPad Apps and Folders Can I Have?
- How to Use AirPlay For Videos, Photos and Music
- Big Bad Sudoku Book - Game Center game
- iOS 4.2 AirPrint compatible printers
- iPad mute switch doesn't mute on iOS 4.2.1
- Lunch is on Google
- NEW TABLET ANDROID TOSHIBA FOLIO 100
- Siemens GreenTouchscreen� - Higher Education
- Nokia World's first ice touchscreen virtually burns
- Resize Blogger Post Image
- Update Apps Before updating to iOS 4.2 for iPad
- Trucks and Skulls HD
- iTunes Connect Mobile for iPad
- T-mobile 's "4G Sweepstakes" Contest
- HTC Released myTouch 4G Source Code
- Christmas Tale for iPad
- iPad crashes when scrolled through photos in iPhotos
- Hotpot's First Week
- Remove Blogger Static Page Titles
- How to get started with Game Center on iPad
- iOS 4.2 for iPad Release Date Delayed Again
- Info New Produk With Great Specs "LG L-03C" 12MP C...
- InFo Complete Specification Product "LG C320 InTou...
- Upload Multiple Pictures with Blogger's Updated Ed...
- Reposition Blogger Header Image
- Google Sky Map- now with time travel
- Google Sky Map- now with time travel
- Talking Gremlin HD - Entertainment app
- Running android OS on your iPad
- How to add PDF files to iBooks & read them on your...
- Info Complete Specification "Sony Ericsson Xperia...
- Information Product Specification CDMA Android Pho...
- AmazonWireless myTouch 4G Now Only $49 on Backordered
- Latest myTouch 4G Ad - Still Hits AT&T
- Editing your Google Docs on the go
- Editing your Google Docs on the go
- Info Product Specification "Samsung Nexus S (Samsu...
- review "ZTE Peel" Change Ipod Touch Into Iphone
- Introducing the Hotpot Blog
- Google Voice for iPhone
- Google Voice for iPhone
- Offline, meet online: a marketing experiment with ...
- Offline, meet online: a marketing experiment with ...
- Should I Upgrade iPad to iOS 4.2?
- EyeTV Enables Satellite TV on iPad running iOS 4.2
- Can't stop Mail checking email on iPad
- Android 2.3 Gingerbread Features
- Eric Schmidt teases Nexus S with Gingerbread
- Personally Yours on the Go - Personalized Recommen...
- Personally Yours on the Go - Personalized Recommen...
- Complete Info Specification of Android Phone "Dell...
- Review LG 4G Modem and Pantech UML290 VL600 4G W...
- Google Shopper 1.3 adds search filters and feature...
-
▼
November
(197)


