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 Network to add comments!

Join Ning Creators Network

Email me when people reply –

Search the Creators Network

Latest Activity

Kyryl_Ning_Support replied to Ian's discussion Side Backgound Image keeps shrinking and orienting left & animated gif header isn't working
"Hi Ian,
In that case please sent the image to our email address support@ning.com so we could try to…"
1 hour ago
Kyryl_Ning_Support replied to Bryce Rubio's discussion A Follow-Up Message from our CEO
"Hi there,
As we have mentioned in the reply to the ticket that you have sent to us the issue with t…"
1 hour ago
Remy Arteaga is now a member of Ning Creators Network
2 hours ago
Shadow replied to Anna Ning Support's discussion 500 error on some Ning Networks
"Thank you for the update much appreciated.."
4 hours ago
Kyryl_Ning_Support replied to Anna Ning Support's discussion 500 error on some Ning Networks
"Hi there,
At this moment the tech team is working on this issue. It should be fixed approximately i…"
4 hours ago
Anam replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"I tried it out.

I am concerned for storage amounts...I think it would be different than what we ca…"
4 hours ago
Shadow replied to Anna Ning Support's discussion 500 error on some Ning Networks
"Hey btw uh am I missing something or is there a different creators now? activity post on homepage d…"
4 hours ago
TJ @ jQueryHelp replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"Very nice addition to Ning 3 sites, thanks!"
7 hours ago
Thisisbully replied to Bizz ( John )'s discussion Now We Have The Responsive Video We Can Know Adjust The Columns.
"perfect"
7 hours ago
Ian replied to Ian's discussion Side Backgound Image keeps shrinking and orienting left & animated gif header isn't working
"The image we've had in the 'side image' has been working fine, filling up the whole screen for year…"
9 hours ago
Shadow replied to Anna Ning Support's discussion 500 error on some Ning Networks
"Thank you Kos I did use this page earlier.  still waiting but all good Thank you :)"
9 hours ago
Kos replied to Anna Ning Support's discussion 500 error on some Ning Networks
"Shadow try to file a ticket online here http://hc.ning.com/contact/networkdown/index.php
Hope they…"
9 hours ago
Shadow replied to Anna Ning Support's discussion 500 error on some Ning Networks
"found an old post to reply on.. as NING status is not recent it seems.. nor current issues.. as my…"
10 hours ago
Bizz ( John ) replied to Bizz ( John )'s discussion Make Your Videos In The New Video Feature Responsive
"Your most welcome Kos :-)"
10 hours ago
Aurora replied to George H. Compton IV's discussion ( TIP N3 ) Allow your members to add CSS codes to the new profile text box.
"Actually the text boxes are a mess, I'm facing the same problem on my network, I hope they fix this…"
11 hours ago
Kos replied to Bizz ( John )'s discussion My Layout Adjustments For The New Video Feature - viewing the video
"Ning just hire him already.  LOL  Great work John - thank you!"
11 hours ago
Kos replied to Bizz ( John )'s discussion Make Your Videos In The New Video Feature Responsive
"Nice John.  Thank you!"
11 hours ago
Philip Voice replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"Hi John
Thanks for your response.
It looks as though all my settings are right."
18 hours ago
Kos replied to CZG's discussion Logging into ning site using Firefox not secure message
"If Ning obtains SSL, it will be for their domain name - not all of ours (who can afford that?) 
No,…"
18 hours ago
Suki Winthrop replied to Jeff Gilder's discussion Saying Goodbye To Ning After 9 Years
"Hi Jeff, couple months have gone by now.
I think there is already a lot of feedback here about what…"
18 hours ago
More…