Showing posts with label blogspot. Show all posts
Showing posts with label blogspot. Show all posts

Jun 10, 2013

How to center stuff in Blogger

nerd diy centering for blogger blog

Log in to your Blogger blog, go to Template > Customize > Advanced > Add CSS

Code to center your Header Image:


#header-inner img {margin: 0 auto;}

To center your Header's Title and Description (text):


#header-inner {text-align: center;}

Code to center your Post Titles:


.post-title {text-align:center;}

Code to center your Post Dates:


.date-header {text-align:center;}

Code to center your Gadget Titles:


.section-columns h2, #sidebar-right-1 h2, #sidebar-left-1  {text-align: center;}

Code to center your Sidebars:


.main-inner .column-left-inner, .main-inner .column-right-inner {text-align: center;}

Code to center your Tabs (menu):


.PageList {text-align:center !important;}
.PageList li {display:inline !important; float:none !important;}


Don't forget to click Apply To Blog. And, you're done!

Let me know if there is anything else you want to center & I'll do my best to update this post.

May 22, 2013

Blogspot displaying black background for transparent images

black backgrounds

Recently Google+ had an update or fancification if you will and while Google+ is much more reader friendly these days the updates threw a proverbial wrench into Blogspot's Blogger image upload feature (this is for the Layout Gadget section of your blog, where you would upload your Header and sidebar Image Gadgets)... your transparent images, .PNG files are now not so transparent. They have a black and/or gray background and that's just not acceptable!

Google+ calls this auto-enhancing and while that may be great and all on Google+ it doesn't work for Blogger.

Luckily there's the fix for this problem.

If you have a Google+ account:


You can disable the "auto-enhance" that is done by default on all your uploaded pictures by

  • Going to the google+ settings (https://www.google.com/settings/plus)

  • In the "Photos" section you can uncheck "Automatically enhance new photos"


If you don't have a Google+ account:



  • Use a free image hosting site like Flickr or Photobucket to upload and grab the image urls from.


Hopefully, Google+ and Blogspot will fix this issue "behind the scenes" so we don't have to apply these hacks, but until then this will do the trick.

 

Jun 13, 2012

Pinterest Widget for Blogger bloggers

Pinterest RSS Feed Widget for Blogger blogs.

The day has finally come Blogger bloggers (I kind of like saying that, heh!) Marie at Code It Pretty has after a lot of experimentation, research, and teeth-grinding, put together a rather stylish way to add a Pinterest showcase to your Blogger blog's sidebar.

And it truly works! She's a genius.

{Insert happy dancing!}

I installed it on my mom's blog and my bff's blog, too.

 

Good stuff. If you want one for your blog, go on over there and get it... if you have any difficulties I highly recommend reading the reader's comments, there's a fix in there for everything.

Enjoy.

May 22, 2012

Add Pinterest "Pin It" button over your images

Add Pinterest pin it hover button over your images

For Wordpress.org and Blogger!

Wordpress


For self-hosted Wordpress blogs I use the Pinterest Pin It Button for Images. And, for Blogger I insert some code into the template.

For Wordpress you just need to Install, Activate and customize the plugin... it couldn't be easier. I have found one conflict with Networked Blogs, so if you're having problems with this plugin consider removing NB from your blog.

Blogger


For Blogger I use code I found over at bloggersentral.com. You are going to be adding two bits of code to your template:

1. Add JavaScript after <head> - This only needs to be added ONCE, so if you already have it in your blog (like in your Pinterest sidebar widget) you don't have to add it again.

<script language='javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js' type='text/javascript'/>

2. Then add this code above </body>

<script>
//<![CDATA[
var bs_pinButtonURL = "http://i743.photobucket.com/albums/xx78/sweetfaerie/pin-it-button.png";
var bs_pinButtonPos = "topright";
var bs_pinPrefix = "";
var bs_pinSuffix = "";
//]]>
</script>
<script id='bs_pinOnHover' src='http://greenlava-code.googlecode.com/svn/trunk/publicscripts/bs_pinOnHoverv1_min.js' type='text/javascript'>
// This Pinterest Hover Button is brought to you by bloggersentral.com.
// Visit http://www.bloggersentral.com/2012/11/pinterest-pin-it-button-on-image-hover.html for details.
// Feel free to use and share, but please keep this notice intact.
</script>


You may replace the bs_pinButtonURL with your own pin it button image.

3. Save!