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

I posted a few days ago about being able to add headings to your subtabs to help liven them up or to be able to seperate items in the list or simply to add a short message somewhere like 'Site Rules' or something like that.

If you want to see what I am talking about if you go here : http://bizzssite.ning.com/ and take a look at the menu and hover over the SubTab Demo Blog link you will see a small subtab menu drop down and here you will see 3 headings. If you hover over the SubTab Colours one you will see all the pre-made headings ready to use.

Ok let's get started

How To Add Them

To add a heading or headings we are going to use the Link option in our site&page. So you go to your site and pages list then choose +Add Page. In the options choose Link.

Now you will have a page show up with a couple of options to fill in. We add the Title we want for our heading in the Title box and then in the url box we are going to add our heading options. There is no need to type http or anything like that. It will add that when we save but the code will disable the link so it can't be clicked to go anywhere.

When you save the page it will be at the bottom of your site and pages list so unless the page above it is the page you want this to be a subtab for you need to move it to where you want it, just click and drag it the position you want it just like any other page. The click on it so it shows in the irght side and check the box to make it a subtab. If you already have a list of subtabs and adding it to that list it automatically becomes a subtab.

Images are below to show how you add the options to the page but here is the settings you would use

Add Heading Type In ( Always add the stHeading first }Tip:  If you just want to add a non clickable heading using your own site colors then just add the stHeading

Type this first

stHeading

Then add your options to it so for a black heading we would type

stHeading/black

And save the page and your done. You will now have a heading. You can come back and change it at anytime.

If you want to change the text you simply add another option to the list like this

stHeading/black/textwhite

The bold setting can be used at anytime without having to use the textcolor option. For example to make the black heading text bold we simply type this

stHeading/black/textbold  and if you are changing the text as well it would look like this  stHeading/black/textwhite/textbold

Again you can come back and change these options at any time.

Ok so here this is in images

A file has been added with all the code, as it's quite a bit we are going to add this to our file manager then link to it in the custom code.

1. Right click on the link and choose save as. Save it to a place easy to find for adding to your file manage, make sure you do not change the file type as it should be a javascript file type.

subtabheadersscript.js

2. Now go to your site and pages and add this file to there in the file manager. Once added click on the copy link and copy this to notepad or similar text editor.

3. Next add this into the line of code below where it say's add you link here.

<script src=" ADD YOUR LINK HERE FROM THE FILE MANAGER " type="text/javascript"></script>

4. Copy this whole link into your site and pages custom code end of page section.

That's it, you will now be all ready to go and add your headings. Below you will see an image with all the colours and thier relevent codes for adding them. Under this is the text codes if you want to change the text as well according to the instructions above.

Color Chart Codes

Text Codes

Black = /textblack
White = /textwhite
Gray = /textgray
Red = /textred
Yellow = /textyellow
Blue = /textblue

Bold = /textbold

If you want the down arrow for the category heading added when ever you add this as a heading then add this to your CSS

/* Adding the down arrow */
.stCategory > a:after{content:'\21B4' ;font-size:30px;font-weight:bold;position:absolute}

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 –

Replies

  • NC for Hire

    beautiful tip Bizz.. thank you!

    • Thanks, going to re-code it over the weekend before I add the full version of all colours to try and lesten the code and make it lighter. I have also added a little css to my menu so it adds a small gap between sections which have headers in them so they are more like a little block of tabs.

      Now I know that the link does not really have to be an actual link in the input box I have tried a few other ideas out with it which I hope to add soon.

      John :-)

      • NC for Hire

        Did you leave again?  Your site doesn't seem to be up anymore

  • Updated this so now you have all the code for the full colour range.

This reply was deleted.
 

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

David Shaw posted a discussion
I'm wondering what the status is on adding a wiki to my Ning site. I searched the forums and see ma…
7 hours ago
Bizz replied to Anastasia_Ning_Support's discussion
Apologies for the recent network instability
"Well it seems we are back to where we were the other week with the sites constantly waiting for the…"
yesterday
Alex Ning Support replied to Anastasia_Ning_Support's discussion
New Social Sharing Options
"Hello,
 
We have checked what causes the reduction of the page speed loading.
Facebook shares and l…"
Monday
Alex Ning Support replied to Anastasia_Ning_Support's discussion
New Social Sharing Options
"Hello! 
Thank you for bringing our attention to this.
I've checked the page you have sent previousl…"
Monday
Monty Yeager, Unmesh Brahme, HaYoung Park and 15 more joined Ning Creators Social Network
Monday
Tavolo Ornitologico replied to Bizz's discussion
NEW GAMES OF THRONES THEME ADDED FOR PROFILE THEMES
"and perfect i am ready to create 3.0 themes and to test my codes first, thanks a lot for the explan…"
Monday
Tavolo Ornitologico replied to Tavolo Ornitologico's discussion
Music Site mp3 playstil player

 
I want this friend of mine to be able to upload both me in the main and the members"
Monday
Bizz replied to Tavolo Ornitologico's discussion
Music Site mp3 playstil player
"Not quite sure what you are after here my friend. Do you that you want members to be able to listen…"
Monday
Bizz replied to Bizz's discussion
NEW GAMES OF THRONES THEME ADDED FOR PROFILE THEMES
"Thanks Tavolo. The idea is is that yes you can add your own Themes you make. I am splitting the cod…"
Monday
Tavolo Ornitologico posted a discussion
I would like to open a site 3.0 of music for when I am under stress lol the problem and the mp3 pla…
Monday
Tavolo Ornitologico liked Bizz's discussion NEW GAMES OF THRONES THEME ADDED FOR PROFILE THEMES
Monday
Tavolo Ornitologico replied to Bizz's discussion
NEW GAMES OF THRONES THEME ADDED FOR PROFILE THEMES
"Incredible theme!it would be nice for a theme creator like me to enter personal .codesin that way w…"
Monday
More…

Meanwhile, you can check our social media channels