Hi there :)
NING 3.0 has still any problem, however we knew NING 3.0 is totaly POWERFUL more than NING 2.0.
As you know, Individual CSS-MarkUp is gone in NING 3.0. It means, You can not add any icon on each menu-tab.
Do you know you can use "<i>"tag in Tab-title?
So, You can add the icon using <i> tag :D
See Example: http://skf-japan.ning.com*I'm sorry. This is Japanese Site.
[How to do that?]
1: Site&Page
At first, You need add to <i>tag in your tab-title.
If the tab-title name is "TOP", You can add <i> tag with class name. "<i class="h"></i>TOP ".
2:Add CSS code!!
Add CSS code like this,
-----------------------
.h{
background: url("https://storage.ning.com/topology/rest/1.0/file/get/3240346?profile=original") ;
display: block;
float: left;
height: 16px;
margin-right: 3px;
margin-top: 5px;
width: 16px;
}
-----------------------
You can see "home-icon" in your menu-tab :D
[Example]
This is my code of adding icons...
Icon file: https://api.ning.com/files/kY9puDXSBJbqKFgQOZWGjPvTxdeEQeTAEvCzMW9ZoQ9SAXNuHrnwj4AVGNn0Tre0t8fS*RiFBsxackGCfw8X83srDvAiYaHN/menuicon.png
- <i class="h"></i> => Home icon
- <i class="j"></i> => Question icon
- <i class="s"></i> => World icon
- <i class="t"></i> => Calender icon
- <i class="m"></i> => Video icon
- <i class="k"></i> => Star icon
- <i class="g"></i> => Direction icon
---CSS Code----------------------------
.h,.j,.s,.t,.m,.k,.g{
background: url("https://storage.ning.com/topology/rest/1.0/file/get/3240346?profile=original") ;
display: block;
float: left;
height: 16px;
margin-right: 3px;
margin-top: 5px;
width: 16px;
}
.j{
background-position:0 -16px;
}
.s{
background-position:0 -32px;
}
.t{
background-position:0 -48px;
}
.m{
background-position:0 -64px;
}
.k{
background-position:0 -80px;
}
.g{
background-position:0 -96px;
}
---------------------------------------
If you have any question, Please let me know!!
【The site using this TIP :D】
Replies
do you know where i can create a background image? and how big in height and width the background image has to be?
Hi there!
You can create the background image in any graphics editor. The size of it depends on the code that you are going to use. If you use the code presented in the example, in such case the full size of the background image with icons should be 16px*96px. So you will be able to place there 6 16px*16px icons.
Best regards,
Ning Team.