Les nouveautés et Tutoriels de Votre Codeur | SEO | Création de site web | Création de logiciel

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

Seo Master present to you: 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(http://www.matrixar.com/-NVj6tUKJgLo/UBShW2dCLSI/AAAAAAAACZk/3TkTa8Hzqt0/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!
2013, By: Seo Master

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

Seo Master present to you: 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!2013, By: Seo Master

seo Numbered comments on threaded comments for Blogger/Blogspot 2013

Seo Master present to you: 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(
    http://www.matrixar.com/-f6ByQfbwApQ/T4x_8p1FGpI/AAAAAAAAB2A/WJKf-ybmvQk/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.
    2013, By: Seo Master

    seo Horizontal menu with sub-tabs in two columns for Blogger 2013

    Seo Master present to you: 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(http://www.matrixar.com/-TkveEnZCoIw/Uat7PEv8kBI/AAAAAAAADsY/iqVPPTJzvUs/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.2013, By: Seo Master
    Powered by Blogger.