Connect with us

blogging

[ Awsome ]How to add a Table of Contents on Blogger. [ Basic step ] (•̃ ͜ʖ•̃)

Published

on

How to add a "Table of Contents" on Blogger here.  step by step guide

Do you also want to add Table of Contents to your Blogger website and blog? If it is, then in this post you will know everything, how you can do this and that too in just 5 minutes.

And friends, the question is that if you want to add Table of Contents to Blogger, then will you benefit from it, so let us know this.

Friends, if you add Table of Contents to your website and blog, you will benefit from it. SEO I get it and friends on this, your website and blog will get a good boost. SERP In.

And if spoken in the same way, then your website and blog directly Feature snippet I will come and you will get more visitors, now let’s know that you will add Kaise.

What is the Table Of Contents?

Friends, when you visit the Internet, you must have got a table and in it you will get to know about all the headings which are in that post.

And you can choose from this what you want to read in that post and accordingly if you click on the heading, then you will go straight to the same paragraph, then this is Table of Contents.

[ Awsome ]How to add a Table of Contents on Blogger. [ Basic step ] (•̃ ͜ʖ•̃)

And friends, the biggest advantage of this is that every single paragraph of yours will also start ranking in Google, so now let’s know how you will add this Table of Contents to your Blogger’s blog.

You may like: how to get adssense approval within 24 hours

How to add “Table of Contents” on Blogger

Friends, now I am just telling you the steps and after that I will explain all the steps one by one.

  1. Login to blogger account
  2. go to theme
  3. Go to Edit HTML
  4. Add code to the section.
  5. ]] add code to section
  6. change code in body
  7. Add code to posts and articles
  8. post end code

Friends, now let’s talk about all the steps one by one.

Phase 1 – Login to blogger account

Friends, now you have to log in to your Blogger Account.

[ Awsome ]How to add a Table of Contents on Blogger. [ Basic step ] (•̃ ͜ʖ•̃)[ Awsome ]How to add a Table of Contents on Blogger. [ Basic step ] (•̃ ͜ʖ•̃)

Step: 2 – Go to Theme

Friends, go to Theme now

[ Awsome ]How to add a Table of Contents on Blogger. [ Basic step ] (•̃ ͜ʖ•̃)[ Awsome ]How to add a Table of Contents on Blogger. [ Basic step ] (•̃ ͜ʖ•̃)

Step: 3 – Go to Edit HTML

Now you go to Customize and after that you go to Edit HTML

[ Awsome ]How to add a Table of Contents on Blogger. [ Basic step ] (•̃ ͜ʖ•̃)[ Awsome ]How to add a Table of Contents on Blogger. [ Basic step ] (•̃ ͜ʖ•̃)

step 4 – Add code to the section.

you now Find Tags and Below HTML Code paste above tag

[ Awsome ]How to add a Table of Contents on Blogger. [ Basic step ] (•̃ ͜ʖ•̃)blogger paste code under header

copy the code below

<link href="http://fortawesome.github.io/Font-Awesome/assets/font-awesome/css/font-awesome.css" rel="stylesheet"/>
<link href="http://fonts.googleapis.com/css?family=Oswald" rel="stylesheet" type="text/css"/><script type="text/javascript">
//<![CDATA[
//*************Table of Content (TOC) plugin by soumyahelp.com
function avsTOC() var avsTOC=i=headlength=gethead=0;
headlength = document.getElementById("post-toc").getElementsByTagName("h3").length;for (i = 0; i < headlength; i++)
gethead = document.getElementById("post-toc").getElementsByTagName("h3")[i].textContent;document.getElementById("post-toc").getElementsByTagName("h3")[i].setAttribute("id", "point"+i);avsTOC = "<li><a href="#point"+i+"">"+gethead+"</a></li>";document.getElementById("avsTOC").innerHTML += avsTOC;function avsToggle() var avs = document.getElementById('avsTOC');if (avs .style.display === 'none') avs .style.display = 'block'; else avs .style.display = 'none';
//]]>
</script>

Step: 5 – ]] add code to section

After that, ]]> Find the code and paste it below the CSS code ]], exactly like the image below

blogger bskinblogger bskin

copy the code below

.avsTOCborder:5px solid #EE5535;
box-shadow:1px 1px 0 #EDE396;
background-color:#FFFFE0;
color:#707037;
line-height:1.4em;
margin:30px auto;
padding:20px 30px 20px 10px;
font-family:oswald, arial;display: block;
width: 70%;
.avsTOC ol,.avsTOC ul margin:0;padding:0;
.avsTOC ul list-style:none;
.avsTOC ol li,.avsTOC ul li padding:15px 0 0;
margin:0 0 0 30px;font-size:15px;
.avsTOC acolor:#EE5535;text-decoration:none;
.avsTOC a:hovertext-decoration:underline; 
.avsTOC buttonbackground:#FFFFE0;
font-family:oswald, arial; font-size:20px;
position:relative;
outline:none;cursor:pointer; border:none;
color:#707037;padding:0 0 0 15px;
.avsTOC button:aftercontent: "f0dc";
font-family:FontAwesome; position:relative;
left:10px; font-size:20px;

you save now

Step: 6 – Change the Code

Now, Find and replace it with the code below

blogger change itblogger change it
<div id="post-toc"><data:post.body/></div>

Step: 7 – Add code to posts and articles

Now you have to add Table of Contents to your post and where you have to put your Table of Contents code.

copy the code and add to your post

<div class="avsTOC"> <button onclick="avsToggle()">Contents</button> <ol id="avsTOC"></ol> </div>

Step: 8 – post end code

Now you have to take a code and put it in the end of the post i.e. last. And friends code is given below.

<script>avsTOC();</script></div>

Conclusion:

Friends, we have told you all the steps, with the help of which you can easily add Table of Contents to your Blogger’s website and blog.

And friends, I feel that you must have understood this, if you do not understand anything, then tell by commenting Niche.

You may like:
How to get Adsense approval within 24 hours
Bing and Yahoo Se Traffic Kaise Laye
DuckDuckGo Se Traffic Kaise Laye 

Facebook Comments Box

Trending

%d bloggers like this: