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

In our events page we have an options drop down where members can choose to edit, delete etc for their event. What this tip does is change the options list into a nice open toolbar and when viewing on mobile it goes back to the list drop down.

Here is an example showing the new toolbar

So here is the code for you to do this

First a little code to go in your site&pages custom code

<script>
// Add Class to events detail page and change text for featured event
x$(document).ready(function(){
x$('.eventDetailPage').closest('body').addClass('eventDetail');
x$('.eventDetail .optionsDropdown-featureButton.feature-button.is-selected').text('Event Featured');
});
</script>

Next we add some css for the styling and this goes in your design studio custom code

@media only screen and ( min-width:771px ){
.eventDetail .content-actions .optionsDropdown-button{ display:none }
.eventDetail .content-actions #eventPage-optionsDropdown{ display:block!important }
.eventDetail .content-actions .optionsDropdown-list{ width:auto; position:relative; border:none }
.eventDetail .content-actions .optionsDropdown-list > li { padding: 4px; display: inline-block; float: left; }
.eventDetail .content-actions .linkbar{ width:100%; clear:both }
.eventDetail .content-actions .linkbar > li{ float:right;  }
.eventDetail .content-actions .optionsDropdown a{ margin-right:5px }
.eventDetail .content-actions .optionsDropdown{ float:right }
}
.eventDetail .content-actions .optionsDropdown a{ padding: 6px 8px;border-radius:4px }
.eventDetail .content-actions .optionsDropdown a:hover{ background-color:royalblue; color:white }
.eventDetail .optionsDropdown-featureButton.feature-button.is-selected{ background-color:darkblue;color:white; border-radius:4px }

@media only screen and ( max-width:771px ){
.eventDetail .content-actions .optionsDropdown-list{
background-color:#c9d3f2;
border-radius:4px;
box-shadow: 0px 8px 7px darkgray;
}
.eventDetail .content-actions .optionsDropdown a{
color: #5c5151
}
.eventDetail .content-actions .optionsDropdown-button {
background-color: #d1e0f8;
}
.eventDetail .content-actions .optionsDropdown{
margin-right:10px;
}
}

That's it, you can change all the colours etc for your own site by editing the color parts of the code.

Enjoy

John :-)

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 –
 

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

Myron Dewey updated their profile
16 hours ago
Bizz replied to Bizz's discussion
Tip: PROFILE THEMES
"Thanks buddy, yep moved onto the layouts now and have added page sizes now so users can choose how…"
yesterday
Annabel Gregory replied to Bizz's discussion
GETTING REALLY FRUSTRATED WITH THIS !!
"We are having the same problems here - also in the UK - we keep getting this pop-up"
yesterday
Bizz replied to kostasgr's discussion
RSS OFF..///--.ning_3...///
"Jfarrow has lot's of cool stuff for rss feeds etc, check him out as may be able to help"
Sunday
kostasgr replied to Bizz's discussion
GETTING REALLY FRUSTRATED WITH THIS !!
"Bizz ! .. we should all mention it .... and the internal RSS feeds do not work are all off ...and t…"
Sunday
Bizz replied to Bizz's discussion
GETTING REALLY FRUSTRATED WITH THIS !!
"Glad to see you added this to the forum as well so at least they know it's network wide and not jus…"
Sunday
kostasgr replied to kostasgr's discussion
RSS OFF..///--.ning_3...///

 
 
 
 
 
 
 
 
 
  
 
 
 "
Sunday
kostasgr replied to Bizz's discussion
GETTING REALLY FRUSTRATED WITH THIS !!
Sunday
kostasgr replied to Bizz's discussion
GETTING REALLY FRUSTRATED WITH THIS !!
"hi Bizz ..!!...And I have the same problem ... I have +++ and the RSS interiors do not work ... the…"
Sunday
Bizz posted a discussion
Whatever Ning has done or is doing is causing a lot of problems and it's getting really annoying. N…
Saturday
kostasgr posted a discussion
Hi !! ... does anyone know any code ?? Because they told me they did a renewal .. the ning ..and th…
Saturday
⚡JFarrow⌁ replied to Bizz's discussion
Tip: PROFILE THEMES
"great work Bizz... coming along nice!"
Friday
More…

Meanwhile, you can check our social media channels