How to Create a Responsive Blogger Table of Contents

Table of Contents [Hide]

     Sitemap (table of contents) is an essential component in a blogger as page navigation can bring up all the table of contents discussed in your blog according to the blog label.

    The sitemap is very influential on a blog. In addition to adding pages also affects the SEO of your blog. Because Google highly recommends sitemaps to make it easier for visitors to search for the material they are looking for in one place, namely sitemaps (table of contents).

    table of contents
    Table of Contents

    Just as you buy a book, if there is no table of contents, then the book is not clear about the contents contained in the book. It is not listed on any page that discusses the material in the book.

    This time, the author will give how to create a cool sitemap (table of contents) with one click that will directly show the article with the same prefix letter. It is suitable for those whose blogs discuss downloaded blogs, novel tutorials, etc.

    Related: How to Make a Responsive 3 Column Footer Navigation

    How to Install CSS sitemap scripts on blogger templates

    1. Enter your blogger first,

    2. Next, you select the Theme menu ~ Edit HTML,

    3. And paste the CSS code below just above ]]></b:skin> or </style>. To search easier please type CTRL + F on the keyboard and then look for the code above.

     /* Blogger Sitemap Alphabetically with Letter Heading by inputlearn.net */
    #sitemap5 {font-size:14px; font-weight:400}
    #sitemap5 .judul {font-size:150%; background-color:#008c5f; color:#fff; font-weight:600; text-align:center; margin-bottom:20px; padding:15px;}
    #sitemap5 a {color:#666; text-decoration:none; transition:all .3s ease;}
    #sitemap5 a:hover {color:#000;}
    #sitemap5 .isi .abjad {background-color:#2196f3; color:#fff; padding:10px 15px; font-size:110%; font-weight:600; text-transform:uppercase; position:relative;}
    #sitemap5 .isi .abjad #top:before {content:&#039;&#039;; width:12px; height:calc(100% - 20px); position:absolute; right:0px; top:0px; padding:10px; cursor:pointer; background:rgba(0,0,0,.2) url(&quot;data:image/svg+xml,%3Csvg viewBox=&#039;0 0 24 24&#039; xmlns=&#039;http://www.w3.org/2000/svg&#039;%3E%3Cpath d=&#039;M15,20H9V12H4.16L12,4.16L19.84,12H15V20Z&#039; fill=&#039;%23fff&#039;/%3E%3C/svg%3E&quot;) center / 20px no-repeat;}
    #sitemap5 ol, #sitemap5 ol li {list-style-type:none;}
    #sitemap5 .nav ol {margin:0px 0px 15px; padding:0px; display:-webkit-box; display:-webkit-flex; display:-moz-box; display:-ms-flexbox; display:flex; flex-wrap:wrap; align-items:center; justify-content:center;}
    #sitemap5 .nav ol li {background-color:#444; color:#fff; padding:7px 0px; cursor:pointer; margin:0px 5px 5px 0px; text-align:center; text-transform:uppercase; width:40px;}
    #sitemap5 .nav ol li:last-child {margin-right:0px;}
    #sitemap5 .isi ol {margin:0px 0px 20px; padding:0px; border:1px solid #ccc; border-top:0px;}
    #sitemap5 .isi ol li {color:#666; margin:0px; padding:10px 15px; line-height:1.5em; -webkit-margin-start:0px !important;}
    #sitemap5 .isi ol li:nth-of-type(even) {background-color:#e9e9e9;}
    #sitemap5 .isi ol li:nth-of-type(odd) {background-color:#fff}
    @media screen and (max-width:480px) {
      #sitemap5 {font-size:13px;}
      #sitemap5 .judul {padding:10px;}
      #sitemap5 .isi .abjad {padding:7px 15px;}
    }
    @media screen and (max-width:360px) {
      #sitemap5 {font-size:12px;}
      #sitemap5 .judul {padding:10px;}
      #sitemap5 .isi .abjad {padding:7px 12px;}
      #sitemap5 .isi ol li {padding:7px 12px;}
    }

    4. Finish Save Theme.

    Would you please go to the Page Menu and create a New Page for the next step? To run the CSS code earlier, please call the code by going to HTML instead of Compose, and paste the JS code below in HTML Mode.

    <div id="sitemap5">Loading....</div>
    <script> //<![CDATA[
    /* Blogger Sitemap Alphabetically with Letter Heading by inputlearn.net */
    var scroll  = 'smooth'; /* 'smooth' OR 'instant' */
    /*
    'smooth' for smooth scroll
    OR
    'instant' for quick scroll
    */
    eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\b'+e(c)+'\b','g'),k[c])}}return p}('q a=["","\f\s\i\g\o\d","\s\i\c\b\d\c\W\e\c\x\c\k\d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b\e\r\c\v\p","\p\2e","\f\d\b\i\d","\f\s\i\j\e\e\1F\k\d\j\2s\g\c\1E","\o\b\i\c\k\d\2t\j\h\c","\1w\r\c\i\G\1t\c\e\c\s\d\j\i","\b\h\h\W\w\c\k\d\1k\g\f\d\c\k\c\i","\J\j\i\W\b\s\E","\O\f\g\d\c\x\b\o\K\l\H\k\b\w\l\j\e\l\e\g","\1w\r\c\i\G\1t\c\e\c\s\d\j\i\1x\e\e","\O\f\g\d\c\x\b\o\K\l\H\k\b\w","\O\f\g\d\c\x\b\o\K\l\H\g\f\g\l\H\b\N\z\b\h\l\O\d\j\o"];q 1f=1,V=2c,1a=1l 1h(),Q=1l 1h(),1p=1l 1h(),1j=a[0],T=a[0],1q=a[0];B 1g(){q 1e=D[a[2]](a[1]);1e[a[3]]=a[4]+1f+a[5]+V;D[a[7]][a[6]](1e)}B 2f(1B){q Y=D[a[9]](a[8]);F(!Y){1L};Y[a[10]]=a[0];q S=1B[a[11]];F(S[a[13]][a[12]]>0){I(q U=0;U<S[a[13]][a[12]];U++){q P=S[a[13]][U];q 1d=P[a[15]][a[14]];I(q M=0;M<P[a[16]][a[12]];M++){F(P[a[16]][M][a[17]]==a[18]){q 1c=P[a[16]][M][a[19]];F(1c&&1c[a[12]]>0&&1d&&1d[a[12]]>0){1a[a[20]]({"\r\i\e":1c,"\z\r\h\r\e":1d})};2k}}};F(S[a[13]][a[12]]>=V){1f+=V;1g()}1I{I(q t=1a,A=0;A<t[a[12]];A++){q R=t[A][a[23]][a[22]](0)[a[21]]();F(1j[a[24]](R)==-1){1j+=R;Q[R]=[{2l:t[A][a[25]],2m:t[A][a[23]]}]}1I{Q[R][a[20]]({"\r\i\e":t[A][a[25]],"\z\r\h\r\e":t[A][a[23]]})}};I(q y 1O Q){1p[a[20]](y)};q t=1p[a[26]]();I(q C=0;C<t[a[12]];C++){T+=a[27]+t[C]+a[28]+t[C]+a[29];I(q L=0,1m=Q[t[C]];L<1m[a[12]];L++){q X=1m[a[26]](B(y,t){1L y[a[23]]>t[a[23]]?1:-1});T+=a[1W]+X[L][a[25]]+a[1U]+X[L][a[23]]+a[28]+X[L][a[23]]+a[2u]};T+=a[2o];1q+=a[2n]+t[C]+a[2r]};Y[a[10]]=a[2g]+1a[a[12]]+a[2p]+1q+a[1Z]+T+a[1R];1A()}}}B 1A(){D[a[1D]](a[1P])[a[1y]](B(y){y[a[1s]](a[1u],B(){q t=a[1S]+1N[a[10]]+a[2b];D[a[1r]](t)[a[1T]][a[1z]]({1C:1v,1G:a[1M]})})});D[a[1D]](a[2a])[a[1y]](B(y){y[a[1s]](a[1u],B(){D[a[1r]](a[2q])[a[1z]]({1C:1v,1G:a[1M]})})})}1g()',62,155,'||||||||||_0x764c|x61|x65|x74|x6C|x73|x69|x64|x72|x6F|x6E|x20|x3C|x3E|x70|x22|var|x75|x63|_0xd28cx14|x2F|x3D|x76|x6D|_0xd28cx17|x6A|_0xd28cx15|function|_0xd28cx18|document|x68|if|x79|x2E|for|x66|x35|_0xd28cx19|_0xd28cx12|x62|x23|_0xd28cx10|grup|_0xd28cx16|_0xd28cxe|print|_0xd28cxf|max|x45|_0xd28cx1b|_0xd28cxd|x2D|||||||||||sitemap5Arr|x6B|_0xd28cx13|_0xd28cx11|_0xd28cxa|start|runSitemap5|Array|x54|abjad|x4C|new|_0xd28cx1a|x26|x78|key|nav|46|47|x53|40|scroll|x71|x41|48|44|scrollSitemap5|_0xd28cxc|behavior|50|x77|x49|block|x67|else|x43|x42|return|43|this|in|49|x24|39|41|45|31|x3F|30|x48|x4D|38|||||||||||52|42|150|x4F|x5D|sitemap5|36|x50|x3A|x5B|break|url|judul|34|33|37|51|35|x56|x4E|32'.split('|'),0,{}));
    //]]> </script>

    If the installation is correct, please enter the page title, [SITEMAP], and publish it. If you want to fill in the description tag, please fill in [SITEMAP] or what is up to you after publication.

    Related: Script to Remove Automatically Active Links in Blogger Comments

    Conclusion

    Sitemap with alphabetical navigation is perfect and gets a plus, making it easier for visitors to find an article based on the first letter of the title searched according to the label. Please practice and see the results, hopefully, satisfied with the current sitemap display.

    Source: Inputlearn.blogspot.com

    Previous Post Next Post

    Contact Form