• Blogger
    • Related Post
    • Javascrip
    • Popular Post
    • Menu
    • CSS
    • HTML
  • Template
  • Kiến Thức
  • Công Cụ
    • Flat UI Color
    • Bảng Màu Đẹp
  • Bài Tiếp Theo
  • ≡ Menu
  • Contact
  • Sitemap
  • Advertise
  • Submenu
    • Submenu 1
    • Submenu 2
    • Submenu 3
    • Submenu 4
    • Submenu 5
  • Submenu
    • Submenu 1
    • Submenu 2
    • Submenu 3
    • Submenu 4
    • Submenu 5
  • Submenu
    • Submenu 1
    • Submenu 2
    • Submenu 3
    • Submenu 4
    • Submenu 5

Blogger Tricks-Blogspot Tricks-Blogger Template


  • Template

  • Blogger

  • Sitemap

  • Liên Hệ
Menu
Javascrip How to Easily Create a Responsive Recent Post Slider for Blogger- Tricks Blogger

How to Easily Create a Responsive Recent Post Slider for Blogger- Tricks Blogger

Tricks blogger- Hello everybody. To day , I'll so a nice tricks blogger . That is create a responsive recent post slider for blogger .

Tricks Blogger

It will automatically update the latest posts to you as one of five articles slider and image in the aricle. This slider has a responsive layout and is very attractive.

Blog slider helps us to become more beautiful and vivid. It helps to become a professional blog.
Here is a responsive so it suits all kinds of different screen sizes. Also it was a further advantage is valid html 5.
With the advantages so why do not we pick it right ? @@
Demo click to view

If you like blogger template, you can view this article to download: here

Let's started @@

1.Access your blogger template:

You can do this by logging into your Blogger Bashboard and finding your way to "Template"→ Edit HTML.
When the editor open up, it may look a bit foregin to you if you don't have much experience using HTML. Click anywhere insite the code area and search by pressing the CTRL+F for the ]]></b:skin> or </style> tag- hit enter to find it :
]]></b:skin>
Or
</style>

2. Add the Slider CSS:

Once you found  ]]></b:skin> or </style> tag ,insert the following CSS just above it

/* CSS Responsive Slider Recent Post */
#featuredpost {margin:15px auto;}
#slides *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}
#slides ul,#slides li{padding:0;margin:0;list-style:none;position:relative}
#slides ul{height:320px}
#slides li{width:50%;height:100%;position:absolute;display:none}
#slides li:nth-child(1), #slides li:nth-child(2), #slides li:nth-child(3), #slides li:nth-child(4), #slides li:nth-child(5){display:block}
#slides li:nth-child(1){left:0;top:0}
#slides li:nth-child(2){left:50%;width:25%;height:50%}
#slides li:nth-child(3){left:75%;width:25%;height:50%}
#slides li:nth-child(4){left:50%;top:50%;width:25%;height:50%}
#slides li:nth-child(5){left:75%;top:50%;width:25%;height:50%}
#slides li:nth-child(1) h4 {overflow:hidden;font-size:25px;bottom:0;color:#fafafa;width:100%;
padding:10px 10px 10px 90px;text-align:left;text-transform:uppercase;background:rgba(0,0,0,0.3);
height:90px;font-family:&#39;Oswald&#39;;text-shadow:2px 2px 0 rgba(0,0,0,0.2);line-height:32px;left:0;}
#slides li:nth-child(1) .label_text {font-size:30px;display:block;bottom:10px;left:10px;
padding:0;font-family:&#39;Oswald&#39;;box-shadow:5px 3px 0 rgba(0,0,0,0.2);}
#slides li:nth-child(1) span.dd {display:block;font-size:30px;padding:12px 15px;
background:#ff6553;margin:0;}
#slides li:nth-child(1) span.dm {display:block;font-size:14px;background:#333;color:#fff;
padding:5px 21px;text-transform:uppercase;margin:0;}
#slides li:nth-child(1) span.dy, #slides li:nth-child(1) span.autname{display:none;}
#slides a{display:block;width:100%;height:100%;overflow:hidden}
#slides img{display:block;width:100%;height:auto;border:0;padding:0;background-color:#333;-moz-transform:scale(1.0) rotate(0);-webkit-transform:scale(1.0) rotate(0);-ms-transform:scale(1.0) rotate(0);transform:scale(1.0) rotate(0);transition:all 0.6s linear;}
#slides li a:hover img {-moz-transform:scale(1.1) rotate(1deg);-webkit-transform:scale(1.1) rotate(1deg);-ms-transform:scale(1.1) rotate(1deg);transform:scale(1.1) rotate(1deg);transition:all 0.3s linear;}
#slides .overlayx{width:100%;height:100%;position:absolute;z-index:2;background-image:url(http://2.bp.blogspot.com/-0haO2Mfkjjk/VDgZww2tfEI/AAAAAAAAHAk/zhu3INYSkHA/s1600/fade.png);background-position:50% 40%;background-repeat:repeat-x;}
#slides h4{position:absolute;bottom:40px;margin:0;font-size:13px;font-family:&#39;Oswald&#39;;
left:10px;padding:5px 10px;color:#f9f9f9;z-index:3;line-height:20px;font-weight:normal;
background:rgba(41,41,41,0.7);text-align:left;text-transform:uppercase;margin-right:10px;}
#slides .label_text{font-size:12px;color:#fff;bottom:10px;z-index:3;left:10px;
position:absolute;background:rgba(255,101,83,0.8);padding:3px 6px;font-family:&#39;Oswald&#39;;
text-transform:uppercase;}
#slides li:nth-child(2) .autname,#slides li:nth-child(3) .autname,#slides li:nth-child(4) .autname,#slides li:nth-child(5) .autname{display:none;}
#slides .overlayx,#slides li{transition:all .4s ease-in-out}
#slides li:nth-child(1) .overlayx{display:none;}
#slides li:hover .overlayx{opacity:0.1}

@media only screen and (max-width:800px){
#slides li:nth-child(1) h4 {font-size:18px;line-height:24px;}}

@media only screen and (max-width:600px){
  #slides ul{height:600px}
  #slides li:nth-child(1){width:100%;height:50%}
  #slides li:nth-child(2){top:50%;height:25%;left:0;width:50%}
  #slides li:nth-child(3){left:50%;top:50%;width:50%;height:25%}
  #slides li:nth-child(4){left:0;top:75%;height:25%;width:100%}
  #slides li:nth-child(5){display:none;}}

@media only screen and (max-width:480px){
#slides li:nth-child(1) h4 {font-size:13px;line-height:16px;}}

3. Add the Slider CSS:
Continuing search by pressing the CTRL+F for the </body> tag- hit enter to find it :

</body>

Once you found  </body> tag ,insert the following Scrip just above it:

<script type="text/javascript" src="https://vnzed.googlecode.com/svn/slider-post.js"></script>
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function () {
FeaturedPost({
blogURL:"https://vnzed.blogspot.com",
MaxPost:8,
idcontaint:"#featuredpost",
ImageSize:500,
interval:10000,
autoplay:true,
tagName:false
});
});
//]]>
</script>
https://vnzed.blogspot.com:  Replace the address in red  from above with your out.

4.Select the display position slider :

Copy paste the html below into wherever you want the slider to show:
<div id="featuredpost"></div>
Suggest: You can paste in below:
content-wapper or menu-wrapper

if you want to just make the homepage slider, you replace the code <div id = "featuredpost"> </ div> into:

<b:if cond='data:blog.url == data:blog.homepageUrl'>
<div id="featuredpost"></div>
</b:if>

5.Save Blogger template:

This is your first post in english so mistakes are unavoidable hopefully help everyone.
If during implementation failed or do not understand, please comment below.
I'll help
Please like and share if you think it's good. thank you



Key words: blogger template, responsive ,valid html5 ,tricks blogger.
Unknown
Add Comment
Javascrip
Sunday, October 26, 2014
  • Tweet
  • Share
  • Share
DMCA.com Protection StatusVnZed BLog đã đăng ký bản quyền bài viết, vui lòng trích dẫn nguồn khi copy, phát hành lại thông tin trên trang này !

Bài Viết Liên Quan

Comments
0 Comments

Flickr

Subscribe

SEO Reports for vnzed.com PageRank for vnzed.com/

Bài Viết Nổi Bật

  • How to Easily Create a  Responsive Recent Post Slider for Blogger- Tricks Blogger
    How to Easily Create a Responsive Recent Post Slider for Blogger- Tricks Blogger

Bình Luận Mới Nhất

Contact

Name

Email *

Message *

Label

  • Javascrip
Copyright Blogger Tricks-Blogspot Tricks-Blogger Template 2014-2015