Skip to main content

Toggle Text box widget for Blogger

Toggle Text box widget for Blogger
For mentioning an article’s some important phrase, author credit or just highlight some special text in post we often use Toggle text box widget (Click on a line or button, expands and expose to lot’s of embedded text). Toggle text box widget usually comes up with Wordpress theme package (like Thesis theme, Elegant Themes) what can be activate through ‘text editor’. But for ‘Blogger’ there is no such function like Toggle box. So I wanted to make one for Blogger. This Toggle box widget basically work like Accordion and they powered by jquery for creating smooth effect. This one I developed it do not use jquery felt not necessary and slow down site, made with just CSS, HTML5 and CSS3, cool designed, light weighted and responsive. Let’s see how it looks like and how to add it in Blogger.  

Toggle text box widget for Blogger

Demo:- (Click here)

Codes for copy-


/* css starts*/
    width: 600px;
    text-align: left;
.ks-toggle-box label{
    padding: 5px 20px;
    position: relative;
    z-index: 20;
    display: block;
    height: 30px;
    cursor: pointer;
    color: #777;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
    line-height: 33px;
    font-size: 19px;
    font-family: 'Droid Serif', serif;
    background: #ffffff;
    background: -moz-linear-gradient(top, #ffffff 1%, #eaeaea 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#ffffff), color-stop(100%,#eaeaea));
    background: -webkit-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
    background: -o-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
    background: -ms-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
    background: linear-gradient(top, #ffffff 1%,#eaeaea 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeaea',GradientType=0 );
        0px 0px 0px 1px rgba(155,155,155,0.3),
        1px 0px 0px 0px rgba(255,255,255,0.9) inset,
        0px 2px 2px rgba(0,0,0,0.1);
.ks-toggle-box label:hover{
    background: #fff;
.ks-toggle-box input:checked + label,
.ks-toggle-box input:checked + label:hover{
    text-shadow: 0px 1px 1px rgba(255,255,255, 0.6);
        0px 0px 0px 1px rgba(155,155,155,0.3),
        0px 2px 2px rgba(0,0,0,0.1);
.ks-toggle-box label:hover:after,
.ks-toggle-box input:checked + label:hover:after{
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: 13px;
    top: 7px;   

.ks-toggle-box input{
    display: none;
.ks-toggle-box article{
    background: rgba(255, 255, 255, 0.5);
    margin-top: -1px;
    overflow: hidden;
    height: 0px;
    position: relative;
    z-index: 10;
    -webkit-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    -moz-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    -o-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    -ms-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
.ks-toggle-box article p{
    font-family: 'Droid Serif', serif;
    color: #777;
    font-size: 16px;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
.ks-toggle-box input:checked ~ article{
    -webkit-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
    -moz-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
    -o-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
    -ms-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
    transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
    box-shadow: 0px 0px 0px 1px rgba(155,155,155,0.3);
.ks-toggle-box input:checked ~{
/* css ends*/


<!-- toggle starts -->
<section class="ks-toggle-box" style="width:80%; margin:auto">
    <input id="ac-1" name="accordion-1" type="checkbox" />
    <label for="ac-1"> Heading </label>
    <article class="ac-small">
<!-- toggle ends-->

How to add it in Blogger

This widget set up has four steps, read on-

1. Back up your template
  • Log in to your blogger, select your blog, 
  • Select 'Template' tab option, click 'backup/restore' from upper right corner. 
  • Download full template and save it on your pc's Hard drive

2. Goodies installing
  • Go to ‘Template’ tab, select ‘Edit HTML’, 
  • Search (Using CTRL+F or CMD+F) into code snippet </head>
  • Above </head> copy and paste this line of code

<link href='' rel='stylesheet' type='text/css'/>

3. Installing CSS
  • Go to ‘Template’ tab, select ‘Edit HTML’, 
  • Search (Using CTRL+F or CMD+F) into code snippet ]]>< 
  • Above ]]>< copy and paste CSS part

4. Setting up HTML
  • During editing post ‘post editor’s upper side (compose/HTML) 
  • Select HTML/switch to HTML, and copy paste HTML part, and configure, 
  • Red text replace with your Heading, Pink text replace with your hidden paragraph. 
  • After configuring switch to ‘compose’ part.
  • Done, check out your post now ;)

This toggle text box widget is compatible with all major web browser and compatible with all standard designed Templates.

So add this Toggle text box widget to your Blogger blog easily, make your blog post trendier and style-full, any problem or feedback please leave with comment. New unique widget will be release soon stay subscribed. Chill….


Popular posts from this blog

Easily Get 50000 free Backlink for your website

Backlinks are heart of SEO. Without backlink your website will not get a good position in search result and won't get indexed quickly. As you already knew there is two ways you can get backlinks one is Natural linking and another is paid or automated linking. Natural linking is worth to doing and it takes a while but if you don’t have enough time, running a professional business website and need to reach a destination quickly, automated backlinking going to be your last choice. To make automated backlinks you will need to buy paid link package or if you just don’t willing to buy links right now let’s start with free. Here such kind of free backlink maker, free backlink generator listed. And definitively you have a chance to create 50000+ free backlink for your website. But you should also remember Google doesn't like it, I mean Google doesn't recommend it at all. Read on-

+ 50000 free backlink for your websiteIndex kings
Rapid website submitter index kings it will submit y…

Add Cool Social Media Sharing icons below posts in Blogger

Change the taste of random looking social sharing button below posts in Blogger, here you can find a different and cool social media sharing widget what I named it Coldblodded! This social sharing widget loads faster than other icon base social shares, it's icons change color with mouse hover with flipping effect, it got the major social media sites share, main color is black colored what looks artistic and attractive.
Coldblodded social media sharing widget offers shares a post to Facebook, Twitter, Google plus, Pinterest and bookmark a post on Delicious, Evernote, Stumble upon, Digg, Blogger, Yahoo bookmarks additional feedburner email subscription. It made with CSS, HTML and icons uses only a piece of image what will draw all icon process calls CSS image transition CSS Sprite, This widget also reduce HTTP request unlike other icon base sharing choices. Will be fit to any kind of Blogger blog, no matter they are professional blogs, gallery or other features sites. Let's see…

Top 6 Best Alternatives to ZBIGZ

ZbigZ is an ideal for downloading torrent files with top speed and least difficulties. Due to ZbigZ's high speed torrent grabbing for premium members, ZbigZ merely unable to provide much support for a free user. ZbigZ servers often get down or caching issues might spring. That's why we made a list of best ZbigZ alternatives
they are absolutely free with having quite high speed. Read On:

Top 6 Best Alternatives to ZBIGZ 1. File Stream 
File Stream is the ideal substitute for ZbigZ in terms of its quality server and download speed. You need to upload your torrent files to File Stream; to grab you torrent files in minimum time. It also allows you copy Magnet links and paste it on File Stream that will encrypt connections so there isn’t any need to bother about your privacy. File Stream offers a free account besides premium package. File Stream doesn’t slacken your speed to ensure the highest download sped from ISP. File Stream gives exclusive download to your big tor…

13 Best Forum CMS/Script to use

Forum or bulletin board is the best way to start discussion with your website or product's user, clients or Just chilling out with a phenomenon, problem or solutions. To create a forum website you need to make a platform by coding, Or you can just use ready-made forum CMS (content management system). Here I've made a list for best forum CMS (platform) or bulletin board script/software. All forum cms gathered here are easy to use and management plus high end performance and satisfaction. Just read on the list, click on the names to get more information, download and use.

13 Best Forum CMS/Script to use

V Bulletin (Paid)
The best professional and business forum cms/software. You can find it anywhere all over the internet. They got customer like Nasa, Sony, Stream

Satisfaction:     Real-time integration    Extensive personalization (lot of third party themes)    Content generation    Mobile optimize    Easy management ability to launch site under 15 minutes    Integrated Seo    Bui…

12 best free Article Rewriter/Spinner you can use

Copy paste's day is over, search engine's unique content search system finds plagiarism automatically and charge copy paster's for not to having unique content on site and also deploy duplicate content issue what is a big SEO factor now days. Plus if you use stolen text to use those on your site you also will get Dmca,Copyscape, Creative Commons and other content protecting law and policy warning and charge.
Also for holding site's readers eyes and mind on your site content spinning article can be use for present a article more charming with rich vocabulary and thesaurus. And batch producing a lot of article in short time from already someone's published article, article rewriter can be a helpful easy way for you or your client.
There is lot of free article rewriter/spinner online web tool and offline desktop application you can find for spinning your articles for free. After testing most of these tools, I made a final list. Now from the best article rewriter lis…