Home > Tutorial > Adding Buttons to Blogger Header
Adding Buttons to Blogger Header
Posted on Tuesday, November 30, 2010 by android apps market for tablests
It isn't possible to directly add a button to your header. There isn't such feature in Blogger. But there's a workaround. Using CSS 'position' and 'z-index' attributes, you can place an image (button) on top of your header and make it clickable. Check out a live demo here:
Step 1:
If you're using the old Blogger interface: Go to Dashboard - Design - Edit HTML - Back Up (Download Full Template) -
If you're using the new Blogger interface: Go to Dashboard - Template - Backup/Restore - Download Full Template - Close - Edit HTML - Proceed -
Find for <b:section class='header' id='header' maxwidgets='1' showaddelement='no'> - Paste the following code directly ABOVE it :
Refer to the image below to see the code in place.
If you're using the old Blogger interface: Go to Dashboard - Design - Edit HTML - Back Up (Download Full Template) -
If you're using the new Blogger interface: Go to Dashboard - Template - Backup/Restore - Download Full Template - Close - Edit HTML - Proceed -
Find for <b:section class='header' id='header' maxwidgets='1' showaddelement='no'> - Paste the following code directly ABOVE it :
<b:section class='button' id='buttonsection' showaddelement='no'>
<b:widget id='Image999' locked='false' title='' type='Image'/>
</b:section>
Refer to the image below to see the code in place.
Step 2:
Now go to Page Elements/Layout - Picture (at the top) - Edit - Uncheck 'Shrink to Fit' - Upload your image either by choosing 'From Your Computer' or 'From the Web' - Once uploaded fill the Link field - Save.
Leave other fields blank and click on Save. It is very important for you to insert a link to avoid unnecessary gaps between your header and your navbar.
Now go to Page Elements/Layout - Picture (at the top) - Edit - Uncheck 'Shrink to Fit' - Upload your image either by choosing 'From Your Computer' or 'From the Web' - Once uploaded fill the Link field - Save.
Leave other fields blank and click on Save. It is very important for you to insert a link to avoid unnecessary gaps between your header and your navbar.
Step 3:
If you're using the old Blogger interface: Go to Dashboard - Design - Template Designer - Advanced - Add CSS - paste the following code - Press enter after the last character of the last line } - Apply to Blog.
If you're using the new Blogger interface: Go to Dashboard ('House' symbol) - Template - Customize - Advanced - Add CSS - paste the following code - Press enter after the last character of the last line } - Apply to Blog.
You have to adjust the above code to fit your button.
1. First, find out what is your button's width. You can do this by going to the image file in your computer - Right click - Properties.
2. Replace 268 in Line 2 with your image's width.
3 Use 'top' and 'left' CSS attributes in Line 4 and 5 to position your button. It is noteworthy that what you see in Template Designer is not what your final outcome will look like. So you might want to hit on 'Apply to Blog' and check your blog for real if the button is where you want it to be.
And that is all. Simple right? Tested with IE8, Firefox 3.6.12, Opera and Google Chrome. Have fun!
If you're using the old Blogger interface: Go to Dashboard - Design - Template Designer - Advanced - Add CSS - paste the following code - Press enter after the last character of the last line } - Apply to Blog.
If you're using the new Blogger interface: Go to Dashboard ('House' symbol) - Template - Customize - Advanced - Add CSS - paste the following code - Press enter after the last character of the last line } - Apply to Blog.
#Image999{
width: 268px; /*Insert width here*/
position: relative;
top: 70px; /*Adjust position*/
left: -20px; /*Adjust position*/
z-index: 100;
}
#Image999_img{
border: outset white;
}
#buttonsection{
height: 0;
}
You have to adjust the above code to fit your button.
1. First, find out what is your button's width. You can do this by going to the image file in your computer - Right click - Properties.
2. Replace 268 in Line 2 with your image's width.
3 Use 'top' and 'left' CSS attributes in Line 4 and 5 to position your button. It is noteworthy that what you see in Template Designer is not what your final outcome will look like. So you might want to hit on 'Apply to Blog' and check your blog for real if the button is where you want it to be.
And that is all. Simple right? Tested with IE8, Firefox 3.6.12, Opera and Google Chrome. Have fun!
Update
Adding more than one button
It's easy actually. Assuming you've attempted to add a single button, I will just briefly go through the method to add more than one button. In this example, I'll be adding 3 buttons. So instead of the HTML code used in Step 1, this is what I'll be using:
Adding more than one button
It's easy actually. Assuming you've attempted to add a single button, I will just briefly go through the method to add more than one button. In this example, I'll be adding 3 buttons. So instead of the HTML code used in Step 1, this is what I'll be using:
<b:section class='button' id='buttonsection' showaddelement='no'>Go ahead and upload your pictures, then use this CSS code instead. The only additions are the code for the extra two buttons.
<b:widget id='Image999' locked='false' title='' type='Image'/>
<b:widget id='Image998' locked='false' title='' type='Image'/>
<b:widget id='Image997' locked='false' title='' type='Image'/>
</b:section>
#Image999{
width: 268px; /*Insert width here*/
position: relative;
top: 50px;
left: -10px;
z-index: 100;
}
#Image999_img{
border: outset white;
}
#buttonsection{
height: 0;
}
#Image998{
width: 268px; /*Insert width here*/
position: relative;
top: -90px;
left: 500px;
z-index: 100;
}
#Image998_img{
border: outset white;
}
#Image997{
width: 268px; /*Insert width here*/
position: relative;
top: -110px;
left: 240px;
z-index: 100;
}
#Image997_img{
border: outset white;
}
Of course, you'd have to adjust the width and position of your additional buttons. 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)



