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

FORUM

NC for Hire

I see there is a CSS Maniac Reward here on Creators so I figured I'd share this expandable menus concept using just CSS and HTML

Final Demo Here:

See the Pen Smart Expandable Menus by JFarrow (@JFarrow) on CodePen.

 

You can view it live on Ning inside my Test Page (nevermind the https...this is my sandbox site)

In order to get this working on your Ning site you'll want to find a place inside your pages where you want it to live...like a sidebar.

Place the following HTML into an HTML module in sites and pages:

<nav>
<div class="menu-item">
<h4 style="text-align: center;"><a href="#">PRODUCT DELIVERY DETAILS</a></h4>
<ul>
<li>
This product will be shipped directly from Italy within 1 - 2 weeks of order.
This product is available to view in our showroom. <strong>View in showroom &gt;
</strong></li>
</ul>
</div>
<div class="menu-item">
<h4 style="text-align: center;"><a href="#">MEET THE DESIGNER</a></h4>
<ul>
<li>For Calflex, design is essential and has lead to the creation of the Carimali range, a modern, avant-garde line. <strong>Find out more &gt;</strong></li>
</ul>
</div>
<div class="menu-item">
<h4 style="text-align: center;"><a href="#">SHARE WITH CLIENT</a></h4>
<ul>
<li>
<div style="text-align: center;"><img alt="" src="/Portals/1/Email.png" style="width: 50px; height: 50px;" />
<img alt="" src="/Portals/1/Wishlist%20Outline.png" onmouseover="this.src='/Portals/1/Wishlist%20Filled.png'" onmouseout="this.src='/Portals/1/Wishlist%20Outline.png'" style="width: 50px; height: 50px;" />
<img alt="" src="/Portals/1/TWIT.png" style="width: 50px; height: 50px;" />
<img alt="" src="/Portals/1/FB.png" style="width: 50px; height: 50px;" />
<img alt="" src="/Portals/1/PIN.png" style="width: 50px; height: 50px;" />&nbsp;</div>
<div style="text-align: center;">Email, Add to Wishlist, Tweet, Facebook or Pin your inspiration!</div>
</li>
</ul>
</div>
<div class="menu-item">
<h4 style="text-align: center;"><a href="#">ASK A QUESTION</a></h4>
<ul>
<li></li>
</ul>
</div>
</nav>

 

 

Place the following CSS inside the design studio and adjust it according to your needs/color/text/ect.

nav {
font-family: Arial, sans-serif;
line-height: 1.5;
margin: 50px auto; /*for display only*/
width: 300px;

}

.menu-item {
background: #fff;
width: 300px;
}

/*Menu Header Styles*/
.menu-item h4 {
color: #fff;
font-size: 15px;
font-weight: 500;
padding: 7px 12px;
background: #000;
}

.menu-item h4 a {
color: white;
display: block;
text-decoration: none;
width: 300px;
}

/*Menu Header Styles*/
.menu-item h4 {
border-bottom: 1px solid rgba(0,0,0,0.3);
border-top: 1px solid rgba(255,255,255,0.2);
color: #fff;
font-size: 15px;
font-weight: 500;
padding: 7px 12px;
}

.menu-item h4:hover {
background: #CACACF;
}

/*ul Styles*/
.menu-item ul {
background: #fff;
font-size: 13px;
line-height: 30px;
list-style-type: none;
overflow: hidden;
padding: 0px;
}

.menu-item ul a {
margin-left: 20px;
text-decoration: none;
color: #aaa;
display: block;
width: 300px;
}

/*li Styles*/
.menu-item li {
border-bottom: 0px solid #eee;
}

.menu-item li:hover {
background: #FFF;
}

/*ul Styles*/
.menu-item ul {
background: #fff;
font-size: 13px;
line-height: 30px;
height: 0px; /*Collapses the menu*/
list-style-type: none;
overflow: hidden;
padding: 5px;
}

/*ul Styles*/
.menu-item ul {
background: #fff;
font-size: 13px;
line-height: 30px;
height: 0px;
list-style-type: none;
overflow: hidden;
padding: 5px;

/*Animation*/
-webkit-transition: height 1s ease;
-moz-transition: height 1s ease;
-o-transition: height 1s ease;
-ms-transition: height 1s ease;
transition: height 1s ease;
}

.menu-item:hover ul {
height: 140px;
}


.button {
font-family: Arial, sans-serif;
font-size: 12px;
padding: 5px 10px;
transition: all 0.2s ease-out;
&:hover {
border-color: #999;
box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
&:active {
box-shadow: 0 1px 3px rgba(0,0,0,0.25) inset;
}
}

.overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0,0,0,0.5);
transition: opacity 200ms;
visibility: hidden;
opacity: 0;
&.light {
background: rgba(255,255,255,0.5);
}
.cancel {
position: absolute;
width: 100%;
height: 100%;
cursor: default;
}
&:target {
visibility: visible;
opacity: 1;
}
}

.popup {
margin: 75px auto;
padding: 20px;
background: #fff;
border: 1px solid #666;
width: 300px;
box-shadow: 0 0 50px rgba(0,0,0,0.5);
position: relative;
.light & {
border-color: #aaa;
box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
h2 {
margin-top: 0;
color: #666;
font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
}
.close {
position: absolute;
width: 20px;
height: 20px;
top: 20px;
right: 20px;
opacity: 0.8;
transition: all 200ms;
font-size: 24px;
font-weight: bold;
text-decoration: none;
color: #666;
&:hover {
opacity: 1;
}
}
.content {
max-height: 400px;
overflow: auto;
}
p {
margin: 0 0 1em;
&:last-child {
margin: 0;
}
}
}

 

That's it!  Let me know if you have any questions or need help with your community!

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

Join Ning Creators Social Network

Email me when people reply –

Announcements

 

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

Sir Gissachance liked Anastasia_Ning_Support's discussion Welcome Landing Page Builder
35 minutes ago
Sir Gissachance liked Anastasia_Ning_Support's discussion Welcome Landing Page Builder
35 minutes ago
Naveen Jain replied to Hugh's discussion
Who Owns Ning Now?
"Surprised that there is no response."
1 hour ago
Naveen Jain posted a discussion
Hi, I need to set up conversion tracking of my website https://culytics.com/ . for this purpose I h…
1 hour ago
Tony19 replied to Greg Pond's discussion
Ning help = No help. On the way out?
"Ciao Anastasia. 
Anche sui miei network c'è lo stesso problema. E' impossibile caricare le foto:
"S…"
4 hours ago
Anastasia_Ning_Support replied to Hugh's discussion
Ning Failures Continue to Mount up
"Hello Hugh!
The issue with photo upload is already in the process of solving, so I believe the fix…"
8 hours ago
Anastasia_Ning_Support replied to Greg Pond's discussion
Ning help = No help. On the way out?
"Hello Greg! 
Please let me express my sincere apologies. 
I see that the list of the recent issues…"
8 hours ago
Anastasia_Ning_Support replied to Hugh's discussion
Support So Bad - Even the Support System Now Broken
"Hello!
I am very glad to hear that the Support tab on the networks is now working properly! 
I beli…"
8 hours ago
Anastasia_Ning_Support replied to Anastasia_Ning_Support's discussion
Welcome Landing Page Builder
"Hello! 
Thank you for showcasing your results, it is always welcome here on Creators! 
Best regards…"
9 hours ago
Anastasia_Ning_Support replied to Kyryl_Ning_Support's discussion
Changes on facebook, and new instructions how the app should be set up
"Hello!
I appreciate your honest feedback! You are right, the outdated manual should not be displaye…"
10 hours ago
Anastasia_Ning_Support replied to Steve C's discussion
Comparing Speeds of Ning 2 and Ning 3 Sites
"Hello!
We are reviewing each case separately, and so far it seems like we have found a common issue…"
10 hours ago
Anurag Khode is now a member of Ning Creators Social Network
12 hours ago
More…

Meanwhile, you can check our social media channels