Thus, when a thin border is automatically set around all photos uploaded in my Blogger posts, I find them awfully unappealing! And, as long as I don't know how to remove them, I've learnt to accept them, though grudgingly. By default, any image uploaded via Blogger's Updated Post Editor will have a border around it as shown in this photo below that was captured from our garden. It seems that the border is to inform readers that the image is a link which I think is unnecessary as almost everyone knows that for a fact :
Fortunately, I stumbled upon an article online recently, that showed how it can be easily removed. I've further refined it after doing some research and experiments.
Here's sharing 3 ways on how it can be done - so simple, easy and quick :
(A) Remove a border from A SINGLE uploaded image, via Blogger's Post Editor :
- You need to rectify it in the Edit HTML mode even though the photo was uploaded in the Compose mode.
Go to the related post that you want to edit at Post Editor. Select the Edit HTML mode and locate the HTML that was used to display the image, which will appear something like this block of code below :
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwEHAGSYt8hQBUaXnS1uMkdxW_FIAIvmDwAf80Kwz1khYSUrKBptsuVbNod8YkVs2z5fGiIXI3EALeu5AL3ANC2B3d6Z2E_utYxYHFTT9LkPoXLGIe44EnzBLXmuVmCsz_94MhG8mWjj8/s1600-h/IMG_0709+flower+collage.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwEHAGSYt8hQBUaXnS1uMkdxW_FIAIvmDwAf80Kwz1khYSUrKBptsuVbNod8YkVs2z5fGiIXI3EALeu5AL3ANC2B3d6Z2E_utYxYHFTT9LkPoXLGIe44EnzBLXmuVmCsz_94MhG8mWjj8/s400/IMG_0709+flower+collage.jpg" /></a>
- Then, to remove the border, just add the CSS (Cascading Style Sheet) style attribute, style="border-style:none;" to the <img> tag as shown below in red :
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwEHAGSYt8hQBUaXnS1uMkdxW_FIAIvmDwAf80Kwz1khYSUrKBptsuVbNod8YkVs2z5fGiIXI3EALeu5AL3ANC2B3d6Z2E_utYxYHFTT9LkPoXLGIe44EnzBLXmuVmCsz_94MhG8mWjj8/s1600-h/IMG_0709+flower+collage.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img style="border-style:none;" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwEHAGSYt8hQBUaXnS1uMkdxW_FIAIvmDwAf80Kwz1khYSUrKBptsuVbNod8YkVs2z5fGiIXI3EALeu5AL3ANC2B3d6Z2E_utYxYHFTT9LkPoXLGIe44EnzBLXmuVmCsz_94MhG8mWjj8/s400/IMG_0709+flower+collage.jpg" /></a>
That's all to it!
either
(i) via Blogger's Layout | Fonts and Colors :
- Go to your blog's Dashboard | Layout | Fonts and Colors
- Change the Border Color to be the same as the color of Page Background Color and click the Save Changes tab when done.
Note: This will make ALL BORDERS invisible, besides those around all the photos. Ignore this method and choose the next method (ii), if you want borders removed only from your uploaded photos and not elsewhere.
(ii) via Blogger's Layout | Edit Template :
- This will be done by modifying the blog's template very marginally.
Go to Dashboard | Layout | Edit Template
- Scroll down or CTRL F to find the code .post img { and then locate border:1px solid $bordercolor; below it. Change the later to border-style:none;
Finished...all borders around uploaded images, the past and future, will be removed forever!
Learning, experimenting and acquiring knowledge...and then sharing them is so wonderful and enjoyable! Such fun and keeps me smiling! :-)
Update: 18 October 2010
If your blog is using Blogger's new Template Designer, then you'd need to add custom CSS to remove border and shadows around your images. Refer to my other tutorial at 'Add CSS in the Template Designer'.
Awesome!! Your directions were easy to follow and best of all CORRECT! Thanks a bunch!
ReplyDeleteYou're most welcome, Fit For Fashion! Thanks a lot for your uplifting feedback...your delight and taking the trouble to pen it here is my reward. :-)
ReplyDeleteThanks! Yours is the only post I can find detailing how to remove the border on a single image, not modify the whole style sheet.
ReplyDeleteMy pleasure, Carol! Thanks for your feedback, much appreciated!
ReplyDeletewonderful! thank you for the amazing directions! worked perfectly and now I have a signature without a border. yes! :)
ReplyDeleteCongrats, Shelly! I'm so happy for you! :)
ReplyDeleteBliss! I have been searching all afternoon for a way to remove the borders off of pictures- finally a tutorial that works!
ReplyDeleteThank you SO much!
You're most welcome! Thanks for the positive feedback...much appreciated!
ReplyDeletejust did a google search for this exact topic and your link popped up first! thanks so much! :)
ReplyDeleteThe pleasure is all mine, Rebekah! Great knowing that I've put a smile on your face...thanks for feedback!
ReplyDeleteTHANK YOU! This is the most helpful, step by step help for this question I found! Seriously, thanks so much!
ReplyDeleteAppreciate your positive feedback, Rachel....thanks!
ReplyDeleteI dont know what Im doing wrong. I have tried this multiple times writing it different ways and no matter what I do I cannot get rid of my border. Please help!
ReplyDeleteHi Nikki,
ReplyDeleteIt appears that you have to add some custom CSS to your Template Designer. If you scroll upwards to the end of my tutorial, you'll notice that I've included an "Update: 18 October 2010". Please follow the link therein for your solution.
Hope this helps.
Thank you so much I've been trying to figure this out.
ReplyDeleteYou're most welcome, Connie and thank you for taking the trouble to post your appreciation.
ReplyDeleteThank you, thank you!!! This has been bugging me for the longest time! This has been the best tutorial that I've found on this subject! :)
ReplyDeleteMy pleasure in sharing, Marcie Jean. Great to know you're happy and found the tutorial helpful.
DeleteHi Jacqueline! Thank you very much for this kind tutorial. I have tried several times to remove the border around a single image but it did not work. I am using the awesome ag tenplate, does that have to do something with that?
ReplyDeleteIs there any way I could ask you for help, maybe by sending you the HTML-code for the image? Thank you for reading.
Sorry to read that it's not working for you, Bastien. Whatever I've shared in the tutorial are examples that I've tried myself and they worked fine. I'm not good at trouble-shooting HTML code. Instead, you may want to try out another alternative by following the link that I've included at the end of this tutorial under 'Update 18 October 2010'. Hope that other tutorial can sort out your problem.
ReplyDeleteHi, thank you for the info. I am just wondering why I couldn't find .post img on my HTML. Is that possible that I do not have that thing? I'd like to put a frame on my profile yet I don't know why I do not have it.
ReplyDeleteLovely blog you have!
Thanks for your kind comments, Lamielle! I really don't know why that code is missing.
DeleteI was just wondering that since you'd like a frame on your profile, why don't you create a new profile image with a frame and just replace the existing one.
thank you so much for sharing this info! this had been annoying me forever! never again! :)
ReplyDeleteYou're most welcome, Skippy haha! Great to know I've put a smile on your face, yeah!
DeleteWhoo hoo! Borders are G.O.N.E.!
ReplyDeletethank you!!
Miss Squirrels
You're most welcome, Miss Squirrels. Wonderful to know you are happy with the outcome!
DeleteThanks for the compliment, Irfan Ali.
ReplyDeleteHappy blogging, yah!
Thanks - great - yes the thing that worked for me was just going into the Customise bit and change the border colour in there - simple !
ReplyDeletethere is still some sort of vague shadow thing but hardly noticeable. Thanks as so many blogs had much more complicated solutions.
You're most welcome!
DeleteThank you very much for this simple technique. I'm not an html,etc savvy but this is very simple compared to the template edit css way. !
ReplyDeleteThe pleasure in sharing is all mine, Kelsey!
DeleteThis blog, and your blog about adding a custom CSS, are just brilliant! I'm HTML illiterate, but I had no trouble following your directions. Thank you.
ReplyDeleteOooh Jane, you've made my day with your lovely comment! Great to know you've found them helpful. :)
DeleteThanks for sharing the functions.
ReplyDeleteYou're most welcome, Photographer!
DeleteThat's a very helpful post and so well explained.
ReplyDeleteGreat to know. Thank you for your generous comments, Tim Watson!
DeleteMost of the time I don’t make comments on blogs, but I want to mention that this post really forced me to do so. Really nice post! It is extremely helpful for me.
ReplyDeletePersonalized Gifts Noida
Great to know, renu wpi! Thanks for your kind comments.
Delete