Current status of the Ning Platform is always available on the Ning Status Blog.

NC for Hire

Way back in 2018, I shared this with you.  

Tip: How to Add an Easy to Manage News Ticker

Today, I'm going to share an entirely different version which is even easier to manage.  This one is great for community announcements.

See the Pen Pure CSS Ticker (Horizontal) by JFarrow (@JFarrow) on CodePen.

 

To install it, all you need to add to your site is the following CSS which goes inside your Design Studio custom CSS

@-webkit-keyframes ticker {
0% {
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
visibility: visible;
}
100% {
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
}
}
@keyframes ticker {
0% {
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
visibility: visible;
}
100% {
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
}
}
.ticker-wrap {
position: fixed;
bottom: 0;
width: 100%;
overflow: hidden;
height: 4rem;
background-color: rgba(0, 0, 0, 0.9);
padding-left: 100%;
}

.ticker {
display: inline-block;
height: 4rem;
line-height: 4rem;
white-space: nowrap;
padding-right: 100%;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
-webkit-animation-name: ticker;
animation-name: ticker;
-webkit-animation-duration: 30s;
animation-duration: 30s;
}
.ticker__item {
display: inline-block;
padding: 0 2rem;
font-size: 2rem;
color: white;
}

body {
padding-bottom: 5rem;
}

HTML CODE - change out the item text with your own news and place this inside an HTML module or inside the Below Header HTML

<div class="ticker-wrap">
<div class="ticker">
<div class="ticker__item">JFarrow can fix my Ning</div>
<div class="ticker__item">Im sending you subliminal messages</div>
<div class="ticker__item">Velcro is a ripoff</div>
<div class="ticker__item">French people give me the crepes.</div>
<!--<div class="ticker__item">Authentic bitters seitan pug single-origin coffee whatever.</div>
<div class="ticker__item">Letterpress chambray brunch.</div>
<div class="ticker__item">Vice mlkshk crucifix beard chillwave meditation hoodie asymmetrical Helvetica.</div>
<div class="ticker__item">Ugh PBR&B kale chips Echo Park.</div>
<div class="ticker__item">Gluten-free mumblecore chambray mixtape food truck. </div>
<div class="ticker__item">Authentic bitters seitan pug single-origin coffee whatever.</div>-->
</div>
</div>

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Votes: 0
Email me when people reply –

Replies

  • thankss!!

  • Nice JF, might have to have a little play around with this.

This reply was deleted.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

Maighread Birdsong updated their profile photo
7 hours ago
J.Ayvar replied to Nique Stevenson's discussion
Directory Page
" hello, is there any update  idea to build a directory with ning 3 ?"
Saturday
TJ @ jQueryHelp replied to TJ @ jQueryHelp's discussion
Security Alert! Please Delete Code for my Old Apps such as Smileys IMMEDIATELY!
"Thanks! 👍"
Friday
J.Ayvar replied to TJ @ jQueryHelp's discussion
Security Alert! Please Delete Code for my Old Apps such as Smileys IMMEDIATELY!
"Thanks TJ.  welcome back !"
Friday
TJ @ jQueryHelp posted a discussion
Hi everyone! This is TJ, a Ning Apps developer for many years.  Looks like some Ning Creators are…
Friday
Rosas † Negras replied to Rosas † Negras's discussion
After many years of experience, I would like to know from you designers how I can solve this problem and a ridge
"thank you very much I come from the times of this site now I put the photo, it was hard to survive…"
Wednesday
Bizz replied to Rosas † Negras's discussion
After many years of experience, I would like to know from you designers how I can solve this problem and a ridge
"To do a border without the ridge and using dots you would just write it like this
border:13px…"
Wednesday
Steve C posted a discussion
 I want to put ads above individual groups.Jen showed me how to put text above forum categories…
Wednesday
Rosas † Negras replied to George H. Compton IV's discussion
(TIP N3.0 & N2.0) let's hang some Christmas lights..CSS.. Happy holidays :-) updated 12-04-14
"I don't use file manager for photos, so if it's a photo I'm not interested even if after I close…"
Wednesday
Rosas † Negras replied to Rosas † Negras's discussion
After many years of experience, I would like to know from you designers how I can solve this problem and a ridge
"I agree with you, but I want it rounded, on the square it gives no problem,this is an impossible…"
Nov 30
Bizz replied to Rosas † Negras's discussion
After many years of experience, I would like to know from you designers how I can solve this problem and a ridge
"It's because you are using the ridge as a border, to create the ridge the border property adds the…"
Nov 30
Rosas † Negras replied to Rosas † Negras's discussion
After many years of experience, I would like to know from you designers how I can solve this problem and a ridge
"I don't want to go below 13 px I know all would be ok but it's too logical"
Nov 30
More…

Meanwhile, you can check our social media channels