Tampilkan postingan dengan label Blog Design. Tampilkan semua postingan
Tampilkan postingan dengan label Blog Design. Tampilkan semua postingan

Horizontal menu with sub-tabs in two columns for Blogger

Posted by Unknown Minggu, 02 Juni 2013 0 komentar
This is a very nice horizontal menu in which its sub-tabs are displayed in two columns and is also made with CSS, without any scripts.
blogger navigation menu, css menu, drop-down menu
The "advantage" so to speak, is that the sub-tabs when arranged in two columns are not very long, so it will be neat and less space along. You can see an example here:


Adding A Horizontal Menu With Sub Tabs in Two Columns To Blogger

STEP 1: In Blogger, go to your "Layout" and on the "Page Elements" section.
  • Click on the "Add a Gadget" link just under your header image
  • From the Gadget's List, select "HTML/JavaScript" option.
STEP 2: Simply copy and paste this ENTIRE code into your widget. Note: Leave the "Title" section of this widget blank.
<div id='menucol'>
<div id='topwrapper'>
<ul id='top'>
<li><a href='http://YOUR URL HERE.com'>Tab 1 Title Here</a></li>
<li><a href='http://YOUR URL HERE.com'>Tab 2 Title Here</a></li>
<li><a class='submenucol' href='#'>Tab 3 Title Here</a>
<ul>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 3.1</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 3.2</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 3.3</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 3.4</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 3.5</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 3.6</a></li>
</ul>
</li>
<li><a class='submenucol' href='#'>Tab 4 Title Here</a>
<ul>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 4.1</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 4.2</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 4.3</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 4.4</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 4.5</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 4.6</a></li>
</ul>
</li>
<li><a class='submenucol' href='#'>Tab 5 Title Here</a>
<ul>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 5.1</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 5.2</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 5.3</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 5.4</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 5.5</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 5.6</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 5.7</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 5.8</a></li>
</ul>
</li>
<li><a href='http://YOUR URL HERE.com'>Tab 6 Title Here</a></li>

</ul>
<br class='clearit'/>
</div>
</div>
Customize your main tabs by changing the Tab Titles to whatever you want. Include a URL for each one if you want it to be 'clickable'. If not, you can just put a # sign where it says http://YOUR URL HERE.com

You can add or delete as many of the main tabs as you need, just make sure to copy the entire code for the main tab for each additional tab you want:
<li><a href='http://YOUR URL HERE.com'>Tab 7 Title Here</a>
<ul>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 7.1</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 7.2</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 7.3</a></li>
</ul>
</li>
STEP 3: Now let's go a step further and add the CSS style in our Template
  • Go to Template > Edit HTML
  • Click on the sideways arrow next to <b:skin>...</b:skin> 

  • Then click anywhere inside the code area and search - using CTRL + F keys - for the ]]></b:skin> tag and just above ]]></b:skin> add this code:
/* Horizontal menu with 2 columns
----------------------------------------------- */
#menucol {
width:940px;
height:37px;
background-image: -moz-linear-gradient(top, #666666, #000000);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0.00, #666666), color-stop(1.0, #000000));
filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#666666,endColorStr=#000000);
border-bottom:1px solid #666666;
border-top:1px solid #666666;
margin:0 auto;padding:0 auto;
overflow:hidden;
}
#topwrapper {
width:940px;
height:40px;
margin:0 auto;
padding:0 auto;
}
.clearit {
clear: both;
height: 0;
line-height: 0.0;
font-size: 0;
}
#top {
width:100%;
}
#top, #top ul {
padding: 0;
margin: 0;
list-style: none;
}
#top a {
border-right:1px solid #333333;
text-align:left;
display: block;
text-decoration: none;
padding:10px 12px 11px;
font:bold 14px Arial;
text-transform:none;
color:#eee;
}
#top a:hover {
background:#000000;
color:#F6F6F6;
}
#top a.submenucol {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHGHci6qrd5N78AQ9S8lmKPd2ASMAUxN9qvc5vKJP5GvS4HW4WpvV2nTW5RTFmPpSlGxgXr8whvWTGC3DGxApV8mDZZkTbxFeQOFKfHAl2SfIBxkw06g6ZAjir-5yojt6DH5eGx37X0nI/s1600/arrow_white.gif);
background-repeat: no-repeat;
padding: 10px 24px 11px 12px;
background-position: right center;
}
#top li {
float: left;
position: relative;
}
#top li {
position: static !important;
width: auto;
}
#top li ul, #top ul li {
width:300px;
}
#top ul li a {
text-align:left;
padding: 6px 15px;
font-size:13px;
font-weight:normal;
text-transform:none;
font-family:Arial, sans-serif;
border:none;
}
#top li ul {
z-index:100;
position: absolute;
display: none;
background-color:#F1F1F1;
margin-left:-80px;
padding:10px 0;
border-radius: 0px 0px 6px 6px;
box-shadow:0 2px 2px rgba(0,0,0,0.6);
filter:alpha(opacity=87);
opacity:.87;
}
#top li ul li {
width:150px;
float:left;
margin:0;
padding:0;
}
#top li:hover ul, #top li.hvr ul {
display: block;
}
#top li:hover ul a, #top li.hvr ul a {
color:#333;
background-color:transparent;
text-decoration:none;
}
#top ul a:hover {
text-decoration:underline!important;
color:#444444 !important;
}
  • Now find (CTRL + F) this line:
/* Tabs
  • It will also have some little lines beneath:
/* Tabs
----------------------------------------------- */
  • And just below these little lines, delete the code below until you reach at:
/* Columns
----------------------------------------------- */
  • Instead of the code that you have removed, add this one:
#crosscol ul {z-index: 200; padding:0 !important;}
#crosscol li:hover {position:relative;}
#crosscol ul li {padding:0 !important;}
.tabs-outer {z-index:1;}
.tabs-inner {padding: 0 0px;}
See this screenshot for more info:
menu for blogger, blogger gadgets, blogger widgets
STEP 4: The final step is to Save the Template and you are done!

Visit your blog to see a beautiful navigation menu just below header.
If you have any questions or need help, leave a comment below.

Baca Selengkapnya ....

Fade In/Out Page Loading Effect On Blogger Posts

Posted by Unknown 0 komentar
A very common effect in jQuery is the fade effect that hides or shows an element by fading it, and we can use it in many ways as for example in the blog's navigation. The following script does just that, by loading the page with a fading effect when we browse on internal links that are in the blog, such as post titles, labels links, archive, navigation links, etc..
jQuery effect, fade in effect, blogger jQuery
You can see an example in this demo blog, click on the title of any post and see the fading effect when the page is loading.

How To Implement the Fade In Loading Effect

1) To put this fading effect on your blog, go to your Template > Edit HTML :

fading effect, blogger blogspot, blogger tricks

2) Click anywhere inside the code area and search for the </head> tag using CTRL + F keys:


3) Then, just above </head> add the following code:
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function() {
$("body").css("z-index", "-10");
$("body").fadeIn(0);

$("a").click(function(event){
event.preventDefault();
linkLocation = this.href;
$("body").fadeOut(500, redirectPage); });
function redirectPage() {
window.location = linkLocation;
}
});
//]]>
</script>
<style>
html {
background-color: #F2F2F2; /* Color fading */
}
</style>
4) Save the changes and that's it. In green you can see where to change the color that fades on a loading page.

The original script hides the body of the page while loading, I prefer to change that property with a negative z-index to avoid problems with the search engine robots that may effect the positioning.

Problems?

Consider that such effects could increase the blog loading time, so I recommend using it only when your blog loads fast and does not have too many scripts.

If you already use another version of jQuery remove the other, leaving only this which will be readed first.

If you are using Mootools or Scriptaculous, then you have to make some modifications to the code in order to be compatible.

If you have another script with a fade effect, then it could interfere with this and you might not see anything on the page except the color fading, in such cases it is better without this script.

You can also use this effect only on some links, for example, if you want to appear only when you click on the post titles in the navigation links (older posts and newer posts), and on the top tabs, then replace this line:
$("a").click(function(event){
With this:
$(".post-title a, .blog-pager-older-link, .blog-pager-newer-link, .tabs").click(function(event){
In some cases, the page can load for a second and then load with the fade effect, this may be "normal" because the browser is slow to read the script on page load.

Apart from these drawbacks, I think it's a very elegant way to load blog pages while browsing them, don't you think?

Baca Selengkapnya ....

How to Make the Blogger Posts Have a Calendar for the Date in

Posted by Unknown Sabtu, 28 Juli 2012 0 komentar
It's quite common to see calendar style dates next to some WordPress posts but for the Blogger platform it isn't always an very easy task to add this. But who said you can't do it? You need to look no further than this blog. In this tutorial, we'll learn how to create a calendar style date for your Blogger posts.


How to create calendar style dates in Blogger

Step 1. Go to Settings > Language and Formatting - Date Header Format and change the date format as you can see in my example below (put day first, then the month and finally the year)
 

Step 2. Then go to Template > Edit HTML


Step 3. Select the "Expand Widget Templates" checkbox

Step 4. And search (CTRL + F) the following line:

<h2 class='date-header'><span><data:post.dateHeader/></span></h2>

Step 5. In case you find it twice, then you should replace it twice with this code:

<div id='Date'>
<script>changeDate(&#39;<data:post.dateHeader/>&#39;);</script>
</div>
<b:else/>
<div id='Date'>
<script>changeDate(&#39;&#39;);</script>
</div>

Step 6. Now search for this tag (CTRL + F to find it)

</head>

Step 7. And paste the code from below just ABOVE the </head> tag:

<script type='text/javascript'>
//<![CDATA[
var DateCalendar;
function changeDate(d){
if (d == "") {
d = DateCalendar;
}
var da = d.split(' ');
day = "<strong class='date_day'>"+da[0]+"</strong>";
month = "<strong class='date_month'>"+da[1].slice(0,3)+"</strong>";
year = "<strong class='date_year'>"+da[2]+"</strong>";
document.write(month+day+year);
DateCalendar = d;
}
//]]>
</script>
<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<style type='text/css'>
/* Calendar style date
----------------------------------------------- */
#Date {
background: transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMLa7Gj5M4gPTn2mMGLEUmBAZ3ZAvMQOU1UMxLZm8tVWqQss6macVYJe7Nm-DRMtywfaumkRv_9zSdKrwzCLCQRBhhtci0DrYxal7qmzUIa5yImWd8aXNuJRWP5jG8oB6AkEt7zCMQ6jOa/s1600/calendar07.png) no-repeat;
display: block;
width:60px;
height:60px;
float: left;
margin: 15px 2px 0 -108px;
padding: 0 0 8px 0px;
border: 0;
text-transform: uppercase;
}
.date_month {
display: block;
font-size: 15px;
font-weight:bold;
margin-top:-1px;
text-align:center;
color:#ffffff; /* Month's color */
}
.date_day {
display: block;
font-size: 28px;
font-weight:bold;
margin-top:-8px;
text-align:center;
color:#282828; /* Day's color */
}
.date_year {
display: block;
font-size: 10px;
margin-top:-8px;
text-align:center;
color:#282828; /* Year's color */
}
</style>
</b:if>


Before saving your Template, we can make some changes:
  • To change the calendar style, replace the url in blue with yours;
  • If the calendar doesn't appear correctly, change -108 with 0;
  • With green are marked the areas where you can change the color of the dates

Step 8. Now Preview your Template and if everything is ok, click on the Save button. Enjoy!

Baca Selengkapnya ....

How to Create Drop Caps (Big First Letters) in Blogger/Blogspot

Posted by Unknown Senin, 04 Juni 2012 0 komentar
Here's another way you can customize your Blog. In this case, your Posts and Comment's first letter. The effect is a large first letter stretching down three or four lines with the text wrapped around. The drop cap letter can also use a different font and can be a different color to the rest of the text. You often see this style in newspapers, literature, magazines. In this tutorial i will show you how to apply automatically Magazine text style in Blogger Posts and Comments. So let's start adding it!

-> Add Drop Caps For Blogger Posts

drop caps, blogger blogspot, tutorials

-> Add Drop Caps For Blogger Comments

drop caps, first letter, blogger

Big First Letter for your Blogger / Blogspot Posts

Step 1.
  •  If you are using the old Blogger interface:
Go to Dashboard - Design - Edit HTML - Expand Widget Template (make a backup)
  • If you are using the new Blogger interface:
Go to Dashboard - Template - Edit HTML - Proceed - Expand Widget Template (make a backup)

Step 2. Search (CTRL + F) for this piece of code:

]]></b:skin>

Step 3. Just above it, add the following:

.capital:first-letter {
float: left;
display: block;
font-family: Times, serif, Georgia;
font-size: 40px;
color: #000000;
margin:0px 5px 0 0;
padding:0 0 0 10px;
}

Customize:

Color - change the color highlighted in blue with the value of your desired color
Size - to change the letter size, increase/decrease the value highlighted in pink.

Step 4. Now search for this code:

<data:post.body/>

Step 5. Then immediately before and after add the red fragments you see in the example below:

 <div class='capital'><data:post.body/></div>

Step 6. Save your template.

Important! If the above code is not working, add one of following codes from this example:


<p class="capital"><data:post.body/></p>

Or

<span class="capital"><data:post.body/></span>


Big First Letter For Blogger/Blogspot Comments

Step 1. Log in to your Blogger account, then go to Design (Layout) >> Edit HTML >> check the "Expand Widget Templates" box

Step 2. Search (CTRL + F) for this piece of code (if you have already added this code, skip step 2 & 3):

]]></b:skin>

Step 3. Add the following code just above ]]></b:skin>:

.capital:first-letter {
float: left;
display: block;
font-family: Times, serif, Georgia;
font-size: 40px;
color: #000000;
margin:0px 5px 0 0;
padding:0 0 0 10px;
}

Customize:

Color - change the color highlighted in blue with the value of your desired color
Size - to change the letter size, increase/decrease the value highlighted in pink.

Step 4. Then Search for this piece of code:

<data:comment.body/>

Step 5. Add the red codes before and after <data:comment.body/> as you can see in my example below:

<p class="capital"><data:comment.body/></p>

Step 6. Save your Template.

That's it! Now you have a cool drop cap first letter on your blog.
If you have any question, leave a comment below!

Baca Selengkapnya ....

Numbered comments on threaded comments for Blogger/Blogspot

Posted by Unknown Sabtu, 02 Juni 2012 0 komentar
In a past tutorial, I've been talking about how you can add numbered comments to your blogger blog and today we'll learn how we can add numbered comments along with comment bubbles on the threaded comments as well.

What the following CSS trick will do for you:
  1. When the general block of comments is initiating (.comments-content) a counter called countcomments activates and starts with an initial value of 1. 
  2. Then, each time the code flow goes through a review of any level, either a principal or a reply comment (.comment-thread li), content will bring us in front (:before) of the body of the comment, the number that is the counter at the time.
  3. Then is incremented in one unit the counter (counter-increment).
See the screenshot:
count comments, comment bubble, forum, blogger

Isn't that great? Well, i'm pretty sure many of you have been waiting for this cool trick. So let's begin applying it for our threaded comments system.

Steps to add bubble comments count

Step 1: Go to Dashboard - Template - Edit HTML (click on Proceed if needed)

    ...Expand Widget Templates:



    Step 2: Search (CTRL + F) for this piece of code:

    ]]></b:skin>

    Step 3: Add the following code just above it:

    .comment-thread ol {
    counter-reset: countcomments;
    }
    .comment-thread li:before {
    content: counter(countcomments,decimal);
    counter-increment: countcomments;
    float: right;
    z-index: 2;
    position:relative;
    font-size: 22px;
    color: #555555;
    padding-left:10px; 
    padding-top:3px; 
    background: url(
    https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicFBHtY7egXC-4P6laki3ceibV274RWSDa8aJluoZWd0mmwM3hOU9psWDvQpkAcJYKW7tPtn71lEL5xX1vgyPcnkri8ZsqoJxYVOuNlQMeS4FceS4fFy-4wNFBbrUxhu9vVNxgPbm7h_i9/s1600/comment+bubble2.png) no-repeat;
    margin-top:7px; 
    margin-left:10px; 
    width: 50px; /*image-width size*/
    height: 48px; /*image-height size*/ 

    }
    .comment-thread ol ol {
    counter-reset: contrebasse;
    }
    .comment-thread li li:before {
    content: counter(countcomments,decimal) "." counter(contrebasse,lower-latin);
    counter-increment: contrebasse;
    float: right;
    font-size: 18px;
    color: #666666;
    }

    Note:
    • for no bubble icon, remove the code in red (including the blue code)
    • to change the comment bubble, replace the code in blue with the URL address of your own icon. If you're not sure what icon you should use, you can find some cool icons in my previous posts (see these tutorials here and here)
    • to change the position of comments count, increase/decrease the values (3 & 10) from padding-top and padding-left
    • to change the position of comments bubble/icon, change the values (10 & 7) from margin-left and margin-top
    Step 4: Now Save the Template and you're done!

    If you enjoy reading this blog, please share and subscribe. For any questions, leave a comment below.

    Baca Selengkapnya ....

    Create A Rollover Image Effect (change image on mouseover)

    Posted by Unknown Kamis, 31 Mei 2012 0 komentar
    The Rollover effect is one in which an image web object changes (swaps itself) on mouse over to another web object (called rollovers) and reverts back to the original image on mouse out. Rollover images are preloaded into the page when it is loading, this ensures that the rollovers are displayed quickly. The onMouseOver and onMouseOut attributes of the link tag are used to make this functional.

    Demo:  Place your mouse over the image below to see its rollover effect


    Making Rollover Effect Image

    You have the following code:

    <a href="URL ADDRESS"><img src="URL OF THE FIRST IMAGE GOES HERE" onmouseover="this.src='URL OF THE SECOND IMAGE GOES HERE'" onmouseout="this.src='URL OF THE FIRST IMAGE GOES HERE'" /></a>

    Change the colored texts as it follows:

    1. URL ADDRESS

    This is the address where somebody will be sent when clicks on the image.
    Example, my blog address: http://www.helplogger.blogspot.com

    2. URL OF THE FIRST IMAGE GOES HERE

    Replace the orange text (two times) with the URL address of the image which will appear before you hover over it.

    3. URL OF THE SECOND IMAGE GOES HERE
    Replace the text in blue with the url of  the image that will appear when the cursor hovers over it.

    Now you can paste your image inside a blog gadget, going to Layout > click on Add a Gadget link (right side) > Select HTML/JavaScript from the pop-up window, then add it to your sidebar.

    You can also add it inside your post by going to New Post > Switch to HTML tab and then paste the code in the empty box.

    That's it. Enjoy ;)


    Baca Selengkapnya ....

    How to Change Default Anonymous Avatar in Blogger Comments

    Posted by Unknown Minggu, 06 Mei 2012 0 komentar
    In the last tutorial, I wrote about how you can change avatars size in blogger comments and in this simple tutorial, I will show you how to change or customize default avatar of anonymous commenters or Blogger users with no picture added on their profiles. After Blogger announced new feature of threaded comment, we can still customize it by adding a jQuery plugin to our template and replacing the default anonymous avatar found at this

    URL http://img1.blogblog.com/img/anon36.png
    and the one for blogger users http://img2.blogblog.com/img/b36-rounded.png

    ...with our own.

    anonymous, default avatar, blogger blogspot

    Step 1.

    Go to Dashboard - Template - click on the Edit HTML button and then Proceed



    ...then select Expand Widget Template (don't forget to make a backup)

      Step 2. Find (CTRL + F) this code in your template:

      </body>

      Step 3. Add the following code just above it:

      <script src='http://code.jquery.com/jquery-latest.js'/>
      <script>
      $(&quot;img[src=&#39;http://img1.blogblog.com/img/anon36.png&#39;]&quot;)
      .attr(&#39;src&#39;, &#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTmZjMLUG-wBwLG42ESAq-Z5x7N7Ab1UL2LFUu-0CLpQibx9bLj5lYdtTRwmpqkgnne5LoJwU8APJGg2I7851AQ3jd-F4FqsWeVHpRJgClt8UqllIqDOzPBa5n6UkQpayzhx6JhR9JQYw/s1600/default_avatar.gif&#39;)
      .ssyby(&#39;blank&#39;)
      </script>
      <script src='http://code.jquery.com/jquery-latest.js'/>
      <script>
      $(&quot;img[src=&#39;http://img2.blogblog.com/img/b36-rounded.png&#39;]&quot;)
      .attr(&#39;src&#39;, &#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJO06UqE1vgvsYoWfmPduUugLfG34Q5wwL7EENk2tf6NlK3Hc0j36cmtr8ccM3pi_DRLM-faNKOD9w4iBZ-FIoL-33xn_L0a_ZeII7b66_-pyDlCIQ_n-1ck6VsBwpjSlIyNvczNIm86U/s1600/blogger-user.png&#39;)
      .ssyby(&#39;blank&#39;)
      </script>

      Step 4. Save the Template

      How to change avatar:

      For Anonymous users: Replace the code in red with the url address of your image
      For Blogger users: Replace the URL in blue with your own.

      You can choose one from these below (copy the url address):


      https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTmZjMLUG-wBwLG42ESAq-Z5x7N7Ab1UL2LFUu-0CLpQibx9bLj5lYdtTRwmpqkgnne5LoJwU8APJGg2I7851AQ3jd-F4FqsWeVHpRJgClt8UqllIqDOzPBa5n6UkQpayzhx6JhR9JQYw/s200/default_avatar.gif


      https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHJHvbpyK5M9WL-Q57tA06rYW1_tLdvxGDc3zRDsMGKi3b7QVy7b1PoPQ5W30G3evB9e5v_ZM5UE6sDPAjqmGQW1TtasTtuBGbWxR5OZWSM2Ucxic0rU6YgdZ7lSl3V2XjS7LA_ur7_Rg/s1600/facebook.gif


      https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI8esMjzzH3ZKl4W9qdE3xJ5ZayptwQCuaC7xTX0aY9-ybpR6kcntFUzjFvsIhQLT4u2YEh906tKmXpxoOKNXtLlm4e1H5ZVxsrUoDo6rzCm4nuc_WvF_y5gs9q9kDZklvtXOG72_dd7M/s1600/anonymous3.png



      https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUEcYEkf248kdJIAS9MMbhjEgBsYAh27KmmYMHqh2TwHdgV-I7tuje4lA6Gm2u0WkDEtXC5oHHFG6Hf6hcx9tYw7ajBtEgRWbWX-DayKb6z3Hdbxm3j61zPa_0sDVE5PayCp8CWYjVHTMA/s1600/blogger-user.png


      That's it!
      If you liked this post, please consider sharing it.


      Baca Selengkapnya ....

      How To Change Avatar Size In Blogger Comments

      Posted by Unknown Sabtu, 05 Mei 2012 0 komentar
      This simple trick will help you to modify the avatars size in Blogger comments. For changing the style and size of avatars, we have to add some CSS codes in our Blogger template. So, let's begin:


      Step 1.

      Go to Dashboard - Template - click on the Edit HTML button - Proceed


      ...now select Expand Widget Template (I recommend to make a backup first)

        Step 2. Find (CTRL + F) this code in your template:

        ]]></b:skin>

        Step 3. Copy and paste one of the following codes just above it:

        [Works in Blogger threaded comment system]

        .comments .avatar-image-container{
        background-color: rgb(34, 34, 34);
        border:1px solid #ccc;
        margin: 0px 10px 0px 0px;
        padding: 0px 0px 0px 0px;
        width: 64px;
        max-height: 64px;
        }
        .comments .avatar-image-container img{
        margin: 0px 0px 0px 0px;
        padding: 0px 0px 0px 0px;
        max-width: 64px;
        height: 64px;
        }

        [for old blogger commenting system]

        .avatar-image-container{
        border:1px solid #d6d6d6;
        margin-left: -30px;
        -moz-border-radius: 4px;
        background:#fff;
        height:70px;
        min-height: 70px;
        width:70px;
        min-width:70px;
        }
        .avatar-image-container img {
        background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDpvihNA9kAEHcI4eB47Ou16S-fmQ_mXE5t6d_IIGc_b8nQAuoCuZ0Mn9l3Cwu0Cq-XuZ1N0Eg6XYd94M8YIMCqZqftRJJy3Z3K2grnNZkoaBHtD2ZR1irx_sFjwvCSoNSHyk-XFLzMUw/s200/anonymous.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
        width:70px;
        min-width:70px;
        height:70px;
        min-height:70px;
        }

        Note: If you want bigger/smaller avatars, change the values in red. To change the anonymous avatar, replace the URL address in blue with your own. (works only for previous commenting system)

        Step 4. Save the Template.

        Now view your blog to see the results. Hope you enjoy!



        Baca Selengkapnya ....

        How to Hide Blogger Sidebar to Display AdSense For Search Results

        Posted by Unknown 0 komentar
        When visitors are searching for content on your blog, you have the following options to display the search results: opening the results in the same window, in a new window or within your own site using an iframe.

        But the best option is to display the search results in your own site/blog, mainly because you are not sending people off your blog and when they are taken to a new page of search results, so it could be confusing many times because it doesn't look anything like your site or Google. Therefore, displaying the search results within your site, could look more professional and could also increases your page views and your revenue from the ads on the search page.

        A problem that many bloggers are facing is that the page which displays the AdSense for search results must be at least of 800 px wide, so the posting area must be of minimum 800px and there's nothing like that in most of the blogs.

        So, what we will do in this tutorial is to set up the search results to be displayed in a static page (none of other posts or pages will be affected) where we'll remove the sidebar, so that we'll have enough space to make the post/page section of 800px wide. Also, we will create a static page specially designed for the search results, then create a new AdSense for search in our AdSense account and finally add a small snippet of code top in your Blogger template to hide the sidebar in that specific page.

        Search results span the width of the page with the sidebar hidden:


        Display AdSense For Search Results Within Blogger Page

        Step 1. Create a new static page on your blog, you can give it the title 'Search Results' but leave the content section empty and then Publish the page.

        Step 2. When you publish the page you have the option to add the page to a menu, choose the third option 'No Gadget Link To Pages Manually' click 'Save and Publish'. OR in case this screen will not appear, right click on View Page and select Copy Link Address. We will need this URL of the page when creating the AdSense for search.

        Step 3. Go To Your AdSense account, then go to My ads tab, select the Search option and Create a New custom search engine. Follow the steps until you come to the Search results option.

        Step 4. Select the 3rd method "on my website using an iframe", then Enter the URL of the page you created into the URL field and continue.


        Step 5. Follow the rest of the set up process, at the end you will be given two pieces of code. The first piece of code is for the actual search bar that you can paste into a Html/Javascript gadget in your sidebar or wherever you want it. The second piece of code you must copy and paste into a new HTML/JavaScript gadget and after clicked on Save - drag it above the Blog Posts area


         Now that you have your page set up with the search results code and your search bar code in your sidebar, it is time to add a snippet of code to your template to remove the sidebar.

        Adding The Code In Blogger To Change the Results Page Layout

        Step 1. In Your Blogger Dashboard, go to Template > Edit HTML - then click Proceed 


        Step 2. Select the "Expand widget templates" box



        Step 3. Find (CTRL + F) the following piece of code

        ]]></b:skin>

        Step 4. Just below it, paste this code:

        <b:if cond='data:blog.url == &quot;PAGE-URL-HERE&quot;'>
        <style>
        .main-inner .columns {
        padding-left: 0px !important;
        padding-right: 0px !important;
        }
        .main-inner .fauxcolumn-center-outer {
        left: 0px !important;
        right: 0px !important;
        }
        .main-inner .fauxcolumn-left-outer, .main-inner .fauxcolumn-right-outer, .main-inner .column-left-outer, .main-inner .column-right-outer {
        display: none !important;
        }
        </style>
        </b:if>

        Note: Replace PAGE-URL-HERE with the url address of the page where the search results will be displayed (the one you have added at the step 4)

        Step 5. Now Save Template and you're done!

        This simple trick allows you not only to hide the sidebar in the search results page, you can, as well, hide it in any page you want... just create your page and follow the same steps. It is also good to hide the sidebar in Privacy Policy Pages, Contact Pages and in all the non-content-based pages with little content or no content at all.

        Make sure to check out other interesting AdSense Tutorials.
        If you need more help, leave your comments below.


        Baca Selengkapnya ....

        Show Blogger Image only in Homepage and Hide it in Post Page

        Posted by Unknown 0 komentar

        To hide images/pictures from our blogger posts and to make them appear only in homepage, we will have to add just a small piece of CSS code in our template and then use the class "hidepic" each time we want to hide an image.

        Just follow the next steps:

        Step 1. Go to Dashboard - Template - Edit HTML ( click on Proceed button )


         Step 2. Select "Expand Widget Template" (make a backup)

           Step 3. Find (CTRL + F) this code in your template:

              }]]></b:skin>

          Step 4. Copy and paste the following code just below it

          <b:if cond='data:blog.pageType != &quot;index&quot;'>
          <style>
          .hidepic{
          display: none;
          }
          </style>
          </b:if>

          Step 5. Save the Template.

          Now everytime you create a post, firstly add the pic you want to hide and then switch to HTML tab where you'll see the HTML code of the image you have added that will look something like this:

          <div class="separator" style="clear: both; text-align: center;">
          <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcaDa43mpIBczuSNu6l54IG7EO3KMeAlb60FxTvkbmiPXjRSjTI0y4tF9cJPITnFycWdGdrc2MdgR190K3UfZX9gTYb5bwF6FEFE9ylaXCNYDdv9QxT2Em9XYkQ7iXOCBNT_crvNU0xe8/s1600/fire_bird_by_fhrankee-d32af8v.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcaDa43mpIBczuSNu6l54IG7EO3KMeAlb60FxTvkbmiPXjRSjTI0y4tF9cJPITnFycWdGdrc2MdgR190K3UfZX9gTYb5bwF6FEFE9ylaXCNYDdv9QxT2Em9XYkQ7iXOCBNT_crvNU0xe8/s320/fire_bird_by_fhrankee-d32af8v.png" width="320" /></a></div>

          Note: it should be at the exact location where your image has been added 
          (if the image is at the middle of the text, then the code should be found at the middle)

          Step 6. Replace "separator" with "hidepic" - see the screenshot below:


          If you need more help, please leave a comment below.


          Baca Selengkapnya ....

          How to Remove Showing Posts With Label in Blogger

          Posted by Unknown 0 komentar
          label, blogger, remove, how to

          For any default Blogger layout, the "Showing posts with label" message shows up above the posts whenever you click on a label link. As it's a pretty useless and annoying message, many people like to have it removed. If that is your wish, just follow the tutorial below:

          Removing "Showing post with label...show all posts"

          Step 1. Go to Dashboard - Template - Edit HTML (if necessary, click on Proceed button)


          Step 2. Click somewhere inside the template code, then search - using CTRL+F - this code:

          <b:includable id='status-message'>

          After you found it, click on the sideways arrow next to it, to expand the rest of the code.

          Screenshot:

          Step 3. Below is this code that you need to remove - along with the first one, as well:

               <b:includable id='status-message'>
                <b:if cond='data:navMessage'>
                <div class='status-msg-wrap'>
                  <div class='status-msg-body'>
                    <data:navMessage/>
                  </div>
                  <div class='status-msg-border'>
                    <div class='status-msg-bg'>
                      <div class='status-msg-hidden'><data:navMessage/></div>
                    </div>
                  </div>
                </div>
                <div style='clear: both;'/>
                </b:if>
              </b:includable>

          Screenshot 

           Step 4. Replace it with this one:

          <b:includable id='status-message'>
          <b:if cond='data:navMessage'>
          <div>
          </div>
          <div style='clear: both;'/>
          </b:if>
          </b:includable>

          Step 5. Save the template. Now view your blog and click on some label....there should be no box anymore.


          Baca Selengkapnya ....

          How To Add or Change Favicon on Blogger Blogspot

          Posted by Unknown Rabu, 18 April 2012 0 komentar
          Favicon (Favorites Icon) is the small picture (usually 16px x 16px in size) you see beside some some site's name in your browser's address bar. Having your own favicon with a nice graphical reminder of your site beside is a good way to get visitors attention. Blogger users can add a custom favicon for their blogs going to the Layout section  and by clicking on the Edit link on the "Favicon" element.


          "For many bloggers, having a custom favicon (the tiny image displayed in your browser’s window or tab) is the finishing touch that ties together the design and identity of a great looking blog. Today, we're pleased to announce that Blogger in Draft users can now add a customized favicon to their blog. ~Blogger in Draft"

          How To Add a Favicon to Your Blogger Blog

          Step 1. Log in to your Blogger's Dashboard, go to the Layout and click on Add a Gadget link


          Step 2. Click on the "Edit" link on the "Favicon" setting above the navbar element.


          Step 3. A popup window will open where you can search for an image in your hard drive to replace the default favicon image. Click on "Browse" button and search for your favicon (it should have the .ico extension) - then click on "Save".



          Step 4. Now you should see your own favicon instead of blogger's default favicon.


          It might take some time until your new favicon will appear in your Browser's tab or window.

          If you want to add animated favicons to your Blogger blogs, then follow this method below.

          How to add an animated favicon in Blogger

          Step 1. Log in to your Blogger account > Template > Edit HTML (if needed, click on Proceed button)


          Step 2. Select the "Expand widget templates" box


          Step 3. Search (CTRL + F) for:

           <b:skin> 

          Step 4. Paste this code just above it:

          <link href="your-favicon-links-goes-here" rel="icon" type="image/gif"/>

          See the screenshot for more details
          animated favicon blogger, how to





          Note: replace your-favicon-links-goes-here with your favicon's link location

          You can choose from here some cool favicons for your site/blog: http://www.favicon.cc/ (just download the favicon you like - upload it on tinypic or on a blogger's post, then copy the link address/direct link)

          Step 5. Save the Template. And you're done!



          Baca Selengkapnya ....
          Trik SEO Terbaru support Online Shop Baju Wanita - Original design by Bamz | Copyright of Android rush.