Tuesday, July 19, 2011

How to customize blockquote style

In this tutorial, I will show you how to customize blockquote style in blogger. I will do all of these changes in CSS style. By using CSS, we can change the look of the blockquote such as changing margin, background, colour, padding, etc..So, you just need to follow the steps below:

  1. Go to Layout >> Template >> Download full template >> Click on Expand Widget Template
  2. Press Ctrl + F, search for " .post blockquote ", you will see something like this:
.post blockquote {
margin:1em 20px;
}
.post blockquote p {
margin:.75em 0;
}

If you use custom template, and cannot find it, search for " .entry blockquote " ; it looks very similar with the codes above.




  • I have a few examples, so just replace the codes in Step 2 with the code in each example

    1. EXAMPLE 1:

      .post blockquote {
      margin: 1em 3em;
      padding: .5em 1em;
      border-left: 5px solid #fce27c;
      background-color: #f6ebc1; }

      .post blockquote p {
      margin: 0; }

      EXAMPLE 2:

      .post blockquote {
      margin: 1em 20px;
      padding-left: 50px;
      background: transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSzNQDNTPAfm9-KQrDLDvOh5sZ_FdX8bosD9sHUqhvjM4SahbntxR33YMWN8LTGVu62coZ6JprhHNNMmcJdrofVpdeA3u9oI7qaqUdulK1fyQAx-n7pwAhtheMlDm5-rCpfM3kMZEq5FM1/s1600/Next-icon.png) no-repeat; }

      EXAMPLE 3:

      .post blockquote {
      margin: 1em 2em;
      border-left: 1px dashed #999;
      padding-left: 1em; }

      .post blockquote p:first-letter {
      float: left;
      margin: .2em .3em .1em 0;
      font-family: "Monotype Corsiva", "Apple Chancery", fantasy;
      font-size: 220%;
      font-weight: bold; }

      .post blockquote p:first-line {
      font-variant: small-caps; }

      EXAMPLE 4:

      .post blockquote {
      background: #ffffff url(http://i44.tinypic.com/slh4yu.jpg);
      background-repeat:no-repeat;
      background-position:top center;
      margin: 6px 6px 6px 6px;
      padding: 8px 36px 8px 40px;
      font-size: 14px;
      line-height:1.4em;
      }
      4. Click SAVE and check result. If you don't know how to add a blockquote to your post you can see How to make a blockquote

      Enjoy !


      Read more > How to customize blockquote style

      How to customize next and previous post link

      Today, I am going to walk you through how to customize next and previous post link. As we know, there are "Older Posts" and "Newer Posts" located in every blog which can make readers stay longer in your blog. But, is it attractive enough to draw visitors' attentions? I would recommend you change this. It won't take long to customize the next and previous links, so just follow the steps below:

      1. Go to Layout >> Template >> Download the full template >> Click on Expand Widget Templates
      2. Press Ctrl + F, and find this code:
      3. <data:newerPageTitle/>
      4. Replace it with: NEXT POST  or this code if you want to show an image:
      5. <img src="YOUR--IMAGE--ADDRESS--HERE" />
        We've added a NEW POST link, now we'll change the PREVIOUS link
      6. Find this code:
      7. <data:olderPageTitle/>
      8. Replace it with PREVIOUS or this code:
      9. <img src="YOUR--IMAGE--ADDRESS--HERE" />
        Now we'll do the same for the HOME PAGE
      10. Find this code: (note: there are two similar code, use the first one)
      11. <data:homeMsg/>
      12. Replace it with HOME PAGE or
      13. <img src="YOUR--IMAGE--ADDRESS--HERE" />
      I have these cool NEXT and PREVIOUS post link icons, you can use it also:


      https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiZXOkscuZ2lVPD84_utss3u7jFhvROA794AosQ2I1-NaUFPdIdCle3XCAc4qe4EmvYH2cZY0mMR2JhTSqkrBlDYFkXBvf4IKrRyF8x52RF99bI1uhoi9x07ge-wOPQDVeYOfat-BSatd9/s1600/Home-page.png


      https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiufxbWGWslRleo36xL94czCi88SiiSDY10uNwTK_DR8tamCPln4A14kabyu7l9TdU5xoOuJUg4wl3hdIdyoWQjSM2ntt8CKLSPfwbEXBmJhb6TbcfpUkATK30CwXiLVGZHpQ6i4vR4LbaC/s1600/Next-page.png


      https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIUrgiwjG-mGHP0FvEidf1rlVn_utcaXRArNP8OZ8p_vcJ6I4yvCfzBvFnJupWdt86GYTielyVv5HUcxA-M_8zfbbeF6tlRBwm4s-9F6OGK5hvEjobQRbKHLn3TOIIF8ZKBhfn5lxz1RsL/s1600/Previous-posts.png
      Read more > How to customize next and previous post link

      Adding gadgets to Blogger

      Blogger has been well known since it was launched by Pyra Labs in August 23, 1999. Blogger has millions of active users which include you and I. Moreover, more and more new users have switched from other services to Blogger. Therefore, I would guess some of you may not know some of the basic tips in Blogger. This thought has encouraged me to walk you through some basic tips. Note: if you're an blogger guru, you shouldn't see this post. The first tip I want to show you is that adding gadgets to Blogger. If you want to know the latest tips in this blog, just simply to the home page of Blog on Blogspot. To add a gadget to a Blogger blog is quite simple, so it wouldn't take you much time. You just need to follow these steps:

      If you're using the Old Blogger with its ugly blue skin, you can follow this tutorial.
      If you want to use Blogger's new cool design, you can follow the steps below:




      1. Log in into your Blogger in draft.blogger.com
      2. Select your Blog by clicking on the Blog name, you will see something like this
      3. Click on Layout (on the left sidebar)
      4. Click on Add a Gadget (where you want to add your Gadget in you blog); a pop-up window will open 
      5. Choose your a Gadget you want to add (if you cannot find the gadget you want to add, just the search box at the top right corner). I've listed some of the best Gadgets in Best Gadgets for Blog, so you can see it as an idea.
      6. For example, I will choose Follow by Email Gadget
      7. Click Save, then Click SAVE arrangement (on the top right corner)

      I hope you will enjoy blogging in Blogger. Go to the front page to learn more
      Read more > Adding gadgets to Blogger
       
       
      Copyright © blog
      Blogger Theme by Blogger Designed and Optimized by Tipseo