Showing posts with label blogger. Show all posts
Showing posts with label blogger. Show all posts

Thursday, 19 April 2012

Adding a background image to tabs menu in Blogger


Add the following CSS to Template -> Layout -> Advanced -> Add CSS

 #PageList1 ul {  
 background-image: url(<url_to_image>);  
 }  

Where <url_to_image> is the URL to the image you wish to use.

P.S! Are you looking to improve your blog? I recommend you check out Bloggers Boot Camp  and Google Blogger For Dummies. Of course, you can also browse the bookstore for other inspiration!

Wednesday, 18 April 2012

Sizing a background image for Blogger header

To size a background image for your Blogger header; the image width needs to be the width of your blog (check in Template -> Customise -> Adjust Widths), and the image height needs to be 200px.

Go to Layout, and edit the header widget (the one with the title text on it). This will allow you to upload your image.

Tuesday, 17 April 2012

Removing the navbar on Blogger

I've been restyling this blog lately (as I'm sure regular visitors have noticed!), and picked up this little useful information today:

To remove the navbar on a Blogger site, first backup your template (go to Template -> Backup/Restore), then go to Template -> Layout -> Advanced -> Add CSS. Paste the code below into the CSS box and the navbar will no longer appear.


 #navbar-iframe {  
 display: none !important;  
 }  




This is the the claim token for Technorati and will be removed soon: A8KTUYQ2C8ET

Monday, 16 April 2012

Conditionally hiding the sidebar on Blogger

I've recently added a small bookstore to this blog, as I thought my readers might be interested in the books I find interesting and useful. You can access it via the link in the bar above this post. If you open the "Bookstore" tab above, you'll notice that the right sidebar isn't present there, yet reappears when you reopen the "Blog" tab. This is achieved by a inserting a bit of CSS magic at the top of the HTML of the Bookstore page:

 <style type="text/css">   
  .main-inner .columns {padding-right: 0;}  
  .main-inner .fauxcolumn-center-outer {right: 0;   
  _width: expression(this.parentNode.offsetWidth -   
  parseInt("$(main.column.left.width)") + 'px');}  
  .main-inner .fauxcolumn-right-outer {width: 0px;}   
  .main-inner .column-right-outer {width: 0px; margin-right: 0;  
  display: none;}  
 </style>   

Credit to the greene teapot blog for this little gem!