When a picture is added to the sidebar, using Template -> Page Elements -> Add a Page Element -> Picture, there is an option at the bottom of the panel for you to have the picture “Shrink to fit”. Choose this option and the image will be automatically resized so as to fit your sidebar. Otherwise, it might appear to exceed the width of the sidebar. Once the picture is added, when you view the picture, it may appear to be on one side, either to the left or the right.
To adjust the position of the picture, you can insert a definition into the stylesheet. Under Template -> Edit HTML, scroll to any part of the <head> segment. For easy reference, we inserted it here:-
/* Sidebar Boxes */ .sidebar img { margin-left:25px; border:5px solid #e8baba; } |
|---|
All you need is to insert the portion in blue to adjust the position of the image. You can change it to margin-right too. The attribute text-align:center; is tricky as it is not supported in some browsers.
The part in red is the styling that you can do. You don't need this unless you want the sidebar pictures to be different from the Blog Post pictures. In this example, we have set a border of 5px and assigned a color (#e8baba). You can have no border by putting the value as 0px or you can have a different color to the border.
The result is a picture in the sidebar that looks like this:-

© Tricks for New Bloggers


9 comments:
Love your site! I've been poking around today, and the only problem I've got left is that my photo still looks to be too big for the sidebar. Any suggestions?
hppt://crawfordhouse.blogspot.com
Hi Lindsay
The baby photo at the top of the sidebar? Looks alright but if you want a different size, try resizing it before you upload and uncheck the 'fit to frame' option.
Your site has been a tremendous help for me as a newbie. Thank you very much. My problems are 1. my header dont fill up the whole length like yours. 2. my sidebar map always came up to the same size no matter how many times i edit. 3. The blog doesnt seem to be the same in Firefox and IE. Pls help.
hamlengong.blogspot.com
Hi, thanks so much for your website. Provided a lot of useful tips that I can't wait to try out! Went through quite a lot of pages in your website but couldn't find an answer to adress my query. Could you kindly pls help me to look at my source and see what's wrong with it? The sidebar is all the way to the bottom of my blog. Tried various ways to tweak it, but it doesn't work. Will really appreciate it!!! ;)
www.stillhopingndreaming.blogspot.com
HI. I'm trying to set up my blog and I have three columns. I'm trying to put an image in my sidebar for my about me title and I can't center it. I try your step here on the site and It makes the other sidebar have just a black line. I've loved all the help I've found so far on this site. It's been great!! Veru helpful!
theskidmorescoop.blogspot.com
Would this work for repositioning a button I recently downloaded from blogged.com whilst claiming/verifying my blog on their site? I somehow got the button into a posting and not onto the sidebar with the permanent blog features.
Thank you for this very informative site!
I have the Minima 3 column, when I add things like music, chat box, to my sidebars, they are getting a little cut off. I can't seem to find how to fix it on your site. I am assuming I need ti mnimize my margin and make my sidebars wider??
Thank You!
Hi,
Your articles are really interesting and a lots of tips & tricks. Thank you so much for sharing!!
I am just started a blog that am thinking to insert a background image from my PC.
How can I go for it?
Best Regards
Thank you so much for the help on this...I had been looking for a couple days trying to figure this out!
I have something to say ...