Exhibit Recent Web Log Posts Every Bit Breaking News In Scrolling Bar

  • Share

After embedding recent weblog posts widget, ane of our client asked us to show entirely championship of the recent blog posts inwards a scrolling bar every bit trending tidings. He was using responsive blogger template and therefore, he needs to add together responsive intelligence bar.

Accordingly, I am here to part with all of y’all a responsive breaking tidings bar which volition gyre the specified number of recent posts of your blogger weblog every bit trending stories.

Breaking-News-Scrolling-Bar

How to Display Recent Posts Titles as Trending Stories/Breaking News

Step-ane:

Login to your blogger business relationship too navigate the Template Tab.

Step-ii:

Click on Edit HTML text button appears on template tab. Now, click anywhere inwards the template editor and press Ctrl+F to detect closing ]]> tag. Copy and paste these CSS codes but before/above ]]>

.swtHeaderBar/* SWT Breaking News Scrolling Bar START */
height:30px;
background:#192a3e;
width:98%;
margin:0 10px;
border: 1px solid #1ABC9C;
overflow: hidden;

.swtBreakingNews
background: #1ABC9C;
float:left;
height:30px;
position:relative;
overflow:hidden;
width:66%;
padding-left:10px;

#swtEmailsub
background: #1ABC9C;
width:30%;
float:right;
position:relative;
height:30px;
padding-right:10px;

grade.swtEmailform
background:#192a3e;
position:relative;
height:30px;
padding-top: 4px;

.emailText background: url("http://img.superwebtricks.com/files/email-subscribe-button.png") no-repeat scroll 2px center #fff;
color: #444;
width: 45%;
padding-left: 18px;

.emailButton cursor: pointer;
text-shadow: 1px 1px 0 rgba(0, 0, 0, .4);
font-weight: bold;
width: 35%;
.swtBreakingNews marquee
background: #ffffff;
height: 30px;

.swtBreakingNews marquee bridge
font-size: 1.5em;

.swtBreakingNewsTitle
background: #192a3e;
position:absolute;
float: left;
padding: 0 10px;
height: 32px;
line-height: 30px;
color: #FFF;
font-family: Georgia,serif;
text-transform: uppercase;
font-size: 1em;
margin-right: 10px;
/* SWT Breaking News Scrolling Bar START
Tutorial at http://www.superwebtricks.com/?p=767 */

Step-3:

Now, observe closing tag together with paste the following JavaScript file merely to a higher place/before it.



However, if you lot have already added the jquery.min JavaScript file so delight ignore the kickoff job.

Step-four:

Finally, notice opening

tag in addition to copy paste these html codes only above/before


Breaking News













Save your template in addition to come across a live breaking tidings bar at the height of your blogger web log. Enjoy! However, y’all may add the higher up HTML codes into a HTML/JavaScript Gadget from the Layout tab of your blogger blog.

Customization of SWT Breaking News Scrolling Bar

ane) Find occupation as well as supersede SuperWebTricks alongside your ain feedburner feed URL bring up.

two) Find ScrollPosts =12; too alter the value 12 to any issue of blog posts you want to present as breaking news.

three) Find ScrollPostsWidth = 100; and modify the value 100 to whatever issue below 100 which denotes the width of your scrolling posts titles. I recommend you to go on it intact the default value.

four) Find ScrollPostsDelay = 111; together with alter the value 111 to whatever number which indicates the scrolling timing of posts titles.

5) Find ScrollPostsDirection = "left"; together with alter the management of breaking news from left to correct or up. We take non set the direction to downwardly every bit it rarely used past whatsoever website possessor.

  • Share