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

For some reason we do not seem to have a header above our Upcoming events list with a count for them ? Not quite sure why this is but it makes the page look un-balanced. Yes we get one when you do a date search but then it goes away. Maybe that's something that could be added by Ning but for now here is a way to create one.

Demo

Here you can see it, it gets added to all events pages: http://bizzssite.ning.com/events

BEFORE

AFTER

So how it works is that if the member selects a date range the header is replaced by that and shows as normal, the same for any of the other tabs you click on including categories. It's just the initial Upcoming Events list it get's added to.

First we add a touch of custom code ( goes in your site&pages custom code end of page section )

<script>
// Add class to the event list page to create a header
x$(document).ready(function(){
x$('.eventListPage').addClass('myEventListHeader');
x$('.eventListPage .module-header').closest('.eventListPage').removeClass('myEventListHeader');
});
</script>

Next a little CSS to design our header ( this goes in your design studio custom css section )

TIP: If you know how to use the inspect option in your browser then if you right click on a module header you can just copy out the values then adjust the css below.

You can replace the text for the content if you like to read something else, just change the wording between " " in the content section

The background colour and the padding you can get these values from your Design Studio > Page > Modules > Title Padding and you can also copy out your modules heading background colour. You will notice I changed my first figure to 13px in the padding as it just wasn't deep enough to look the same as the other module headings. Again the font size, color and whether bold or not these are settings you can find in your design studio or just adjust the css until you get it looking the same as your others. Border radius again you may have to play around with to fit your site settings, if you do not have any curved corners on your modules then you can just remove that complete line.

The margin I will explain, you will notice two minus values at the start ( -20px ) these two figures are to get the header to move up by 20px and also stretch out to the right by 20px. The middle one which is normal is just the padding normal and the last one -20px will stretch the header to the left.

The 20px amount is the amount shown in your content padding next to the title padding. If we did not have the minus values then the header would not fill the width of the page.

/** Adding A Module Header To The UpComing Events List **/

.eventListPage.myEventListHeader .module-body:before{content:"All Upcoming Events";display:block;
    background-color: #00a6eb;
    border-radius: 7px 7px 0 0;
    padding: 13px 10px 10px 10px;
    margin: -20px -20px 20px -20px;
    font-size: 20px; color:white;font-weight:bold;
}

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

Kathleen (SunKat) updated their profile
Feb 20
Scott Bishop posted a discussion
OMG! AI does it all. Anything you want to light up your Ning site, just ask Google AI. That's what…
Feb 5
Scott Bishop replied to Alex - Rosas † Negras's discussion
HTML Browser Popup Window Generator,possible with a click to have the window open for ning or other pages, this is my example
"Where at in a 3.0 website do you paste the code to? "
Feb 3
Scott Bishop replied to George H. Compton IV's discussion
(Ning 2 and 3) welcome / sign-in and sign-up pop-up module. Updated Aug 24, 2017
"Hi George, I'm not sure if this tip has been outdated or for some reason it's not working on my…"
Feb 3
Eva updated their profile
Jan 28
Scott Bishop replied to Scott Bishop's discussion
Please Help! Members Have No Way of Posting Anything
"https://community.surfoutlook.com/
However, it's been solved. Ning helped me out with it. "
Jan 27
Alex - Rosas † Negras replied to Scott Bishop's discussion
Please Help! Members Have No Way of Posting Anything
"I don't remember your site, I'll check for you, can I have the link?"
Jan 26
Scott Bishop replied to ⚡JFarrow⌁'s discussion
🖼️ Improve Accessibility & SEO on Your Ning Photo Pages by Automatically Adding ALT Text from Photo Titles
"On your step 3 where you say "Paste in the script below", I'm not finding that. Did you forget to…"
Jan 25
Scott Bishop replied to Scott Bishop's discussion
Please Help! Members Have No Way of Posting Anything
"I think that setting was switched over to Admin as a default when I converted from 2.0 to 3.0…"
Jan 25
Alex - Rosas † Negras replied to Scott Bishop's discussion
Please Help! Members Have No Way of Posting Anything
"settings members must post, if you put ADMIN it is FORBIDDEN TO PEOPLE"
Jan 25
Scott Bishop replied to Scott Bishop's discussion
Please Help! Members Have No Way of Posting Anything
"I got an answer back from Ning Support within an day. It was a setting that somehow slipped out of…"
Jan 22
Scott Bishop posted a discussion
I just realized that my members can no longer post pictures, videos, blogs, events, or anything…
Jan 21
More…

Meanwhile, you can check our social media channels