Tuesday, May 5, 2015

Blogger: How to Change Blogpost Line Height

I was googling for this yesterday, and despite of finding some blogs and help tutorials, they aren't very update with the current Blogger customization steps.

Most advices is to:
  1. Go to Dashboard then Design then Edit HTML.
  2. Find some line with post-body then line-height. It suppose to look something like this:
  3. .post-body {
      line-height: 2;
    }
  4. Change the number to whatever line height you desire.
  5. Save the template.
  6. Check with your post/refresh your blog to see if it goes right.
BUT none of the tutorials I read mentioned about how to find that specified "post-body" 
line within 2590 lines of codes. Yes, it wasn't quite a long bunch of codes. My husband might smirk at me if I said it was overwhelming lines of codes, but it was for a non coder blogger.

I tried to use Ctrl+F/Find with Chrome browser but it doesn't help much. It seems like the Find feature only works for what is currently displayed, while Blogger's Edit HTML window is like a window within browser window.


click the picture to get full size image
Now if you watch my picture carefully, what you really need is to pop that little Search box on the upper right corner before you can search for that post-body or line-height stuff. And no, it doesn't come out just like that. Even my husband didn't know how in the first place until he tried some keys and it suddenly pop out.

We had to track back few times to find what keys was that, and when we found out it was another Ctrl+F within the code window, all my troubles swept away *thanks Hun :*.

So, according to what I had gone through, the more detailed steps are:
  1. Go to Dashboard.
  2. Find Template in your left navigation links. (Yes, it wasn't Design. I don't know when they changed it into Template).
  3. Click Edit HTML to pop that big window of codes.
  4. Click Ctrl+F AFTER you activate the code window. I don't know how to explain this, just click anywhere in the code window :D.
  5. Step 4 should pop you that small Search text-box to find any codes. Put post-body or line-height in. It suppose to look something like this:
  6. .post-body {
      line-height: 2;
    }
  7. Change the number to whatever line height you desire.
  8. Save the template.
  9. Check with your post/refresh your blog to see if it goes right. If it doesn't, back to step 6.
Voila! Happy blogging!

2 comments:

Sazkia Ghazi said...

Bwhahahaha you know, this coding things sometime make me feel am a cool nerd. Padahal cuma edit HTML code doang 😂

Unknown said...

bingitt...but since I slept with one...so...da aku mah apa atuh :p:p