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

FORUM

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

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 :-)

  • 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

Ceddy J replied to Brandyn Shepherd's discussion
NING - Mobile App!
"I understand Brandyn, which is why you do an applet instead which gives a conveinent icon to click…"
39 minutes ago
Brandyn Shepherd replied to Brandyn Shepherd's discussion
NING - Mobile App!
"Some people would rather click an app icon than open a browser and open up a website..."
2 hours ago
Ning via Facebook

So, you`ve created your content for efficient outreach. Where are you going to place it? How to…

Thiago Santos de Moraes replied to Brandyn Shepherd's discussion
NING - Mobile App!
"I think that to the extent that communities are responsive this is unnecessary."
4 hours ago
Ning via Facebook

Your Instagram is not just about photos and mentioning people. Let it bring real money for you!…

Fabricio Giugni replied to Fabricio Giugni's discussion
Please limit the Photo upload per day
"This would be a hard solution. We need also some thing to make the pictures small when someone uplo…"
8 hours ago
Annabel Gregory replied to Annabel Gregory's discussion
Failure to create links or embed images
"Ok, thanks.
 "
8 hours ago
Kyryl_Ning_Support replied to Fabricio Giugni's discussion
Please limit the Photo upload per day
"Hi Tom,
As you are able to set content approval and also you can remove the photos uploaded by the…"
11 hours ago
Kyryl_Ning_Support replied to Annabel Gregory's discussion
Failure to create links or embed images
"Hi Annabel,
Yep, sorry it seems that the new text editor button to embed the photo etc. provoking t…"
11 hours ago
Elizaveta, Laura Beatriz Alves Dornel, Denise Lopes and 5 more joined Ning Creators Social Network
13 hours ago
Ning via Facebook

Especially for you - 25 books about business for frosty but cozy winter evenings. Just…

Tom Whelan replied to Fabricio Giugni's discussion
Please limit the Photo upload per day
"Wow, if members are allowed to upload like 100 photos per day (whether they get any 'point's for th…"
yesterday
More…

Meanwhile, you can check our social media channels