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

FORUM

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

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

Thisisbully replied to Victoria_NING's discussion
What was done in Q1 and our plans for Q2
"Good luck"
3 hours ago
Steve C replied to Victoria_NING's discussion
What was done in Q1 and our plans for Q2
"Thank you, Ning! I was about to cry to Support again about how much I need to move to 3.0, and beg…"
8 hours ago
Marco Westerhof replied to Victoria_NING's discussion
What was done in Q1 and our plans for Q2
"Sure: www.reefz.nl
Although it is primarily in Dutch, feel free to look at the setup. We work with…"
8 hours ago
Gerard Nealy replied to Victoria_NING's discussion
What was done in Q1 and our plans for Q2
"Any chance of live stream?"
8 hours ago
Elshara Silverheart replied to Victoria_NING's discussion
What was done in Q1 and our plans for Q2
"Well done Ning! the storage implementation sounds like a really cool idea. Perhaps a list of the mo…"
8 hours ago
Elshara Silverheart replied to Gavin Brown's discussion
Text Editor Problems
"Do you have a ning 2 or 3 network?"
8 hours ago
Elshara Silverheart replied to Gavin Brown's discussion
Text Editor Problems
"I think the change itself may be caused by how Tinymce handles the plugins required to add said fun…"
8 hours ago
Elshara Silverheart replied to Gavin Brown's discussion
Text Editor Problems
"this seems like normal behavior. So making sure tinymce gets called as soon as possible may make th…"
9 hours ago
Ning via Facebook

Improve your community every day! It's easier to say than to do, right? But not for…

Paul B Thomas replied to Gavin Brown's discussion
Text Editor Problems
"Hi I have similar issues at the moment. Cannot upload pictures, an error mesages comes up when I tr…"
10 hours ago
Gavin Brown replied to Gavin Brown's discussion
Text Editor Problems
"Thank you Kyryl
 "
11 hours ago
Traddie replied to Victoria_NING's discussion
What was done in Q1 and our plans for Q2
"Marco. Can you tell me what your network url is so that I can have a look at it. Tks"
11 hours ago
More…

Meanwhile, you can check our social media channels