×
Blue Eagle 1.5.2 Released (11 Dec 2018)

The Kunena team has announce the arrival of Kunena Blue Eagle 1.5.2 which is now available for download as a native Joomla extension for Kunena 5.1. This version addresses most of the issues that were discovered in K 1.5.1 and issues discovered during the development stages of K 1.5.2.

Solved Category Icon in kunena 4 [SOLVED]

More
3 years 5 months ago - 3 years 5 months ago #1 by denisp
hi everybody,

I don't understand how to change the categoty icon. :( :(
in the admin panel i read "Enter here the class for your icon. Example icon-home"

So i enter my class "icon-gs" ... ok!!
the original icon disappears... ok !!
so i add in the css joomla template this code;
.icon-gs {
    background: rgba(0, 0, 0, 0) url("../images/icons/gs.png") no-repeat scroll left center !important;
    height: 32px;
    width: 32px;
}

but nothing appears.
(I add it in joomla template css because i sure it will not overwritten by future upgrades)

where am i wrong?

thanks in advance
Last edit: 3 years 5 months ago by denisp.

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago #2 by applehc
Hello denisp,

Is very simple:
www.kunena.org/docs/Category_icons

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago #3 by denisp
yes, but this tutorial is about old versions of Kunena.
I don't see anything about the class of the new icon.

is this still valid?

thnak you

Please Log in or Create an account to join the conversation.

  • sozzled
  • Visitor
3 years 5 months ago #4 by sozzled
Replied by sozzled on topic Category Icon in kunena 4 [SOLVED]
It's true that category icons for Blue Eagle function in the manner documented in the Wiki, but it's not clear how they operate with the Crypsis template which seems to operate differently. The category "icons" in Crypsis seem to be font-based glyphs, not images. I really don't know enough about the Crypsis template to offer much help in this area.

Like denisp, I also do not understand what is meant by the instructions "Enter here the class of your icons. Example icon-home." What is this class? Does it mean a CSS class or something else? Without any user documentation to guide us, this instruction has no meaning for me.

I have not experimented with this category setting and, therefore, I am unable to offer any assistance or explanation. My best advice is to say "good luck" and hope someone will explain how this works in a bit more detail.

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago #5 by denisp
yes, anyway i'm using the Blu Eagle template

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago #6 by denisp
I confirm, it works with the "old system" <catID>_on.gif and <catID>_off.gif :)

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago - 3 years 5 months ago #7 by 810
try this:
    #Kunena .icon-gs {
	background-image: url("../images/icons/gs.png");
}
Last edit: 3 years 5 months ago by 810.
The following user(s) said Thank You: denisp

Please Log in or Create an account to join the conversation.

  • sozzled
  • Visitor
3 years 5 months ago - 3 years 5 months ago #8 by sozzled
Replied by sozzled on topic Category Icon in kunena 4 [SOLVED]

810 wrote: try this:

    #Kunena .icon-gs {
	background-image: url("../images/icons/gs.png");
}

Ah! So that's how it works! Who would have guessed theat?
Last edit: 3 years 5 months ago by sozzled.

Please Log in or Create an account to join the conversation.

  • sozzled
  • Visitor
3 years 5 months ago - 3 years 5 months ago #9 by sozzled
Replied by sozzled on topic Category Icon in kunena 4 [SOLVED]
The new arrangement with category icons for K 4.0 has good points and bad points.

On the plus side: the category setting Category Icon (together with changes to the site template CSS file as described by 810 in msg #7 earlier) means that you can use different formats for these images (e.g. .JPG, .PNG, .GIF).

On the minus side, the new arrangement removes the feature of being able to use the category icon as a two-state indicator to show if there are new posts made in a category. This has been a feature of Kunena available since the days of Fireboard.

Therefore, if people choose to use their own category icons with K 4.0 Crypsis, they will lose the feature that indicates if there are new messages posted in their categories. The two-state indicator (<catID>_on.gif and <catID>_off.gif) remains a viable option if people use the Blue Eagle template but the "two-state" feature disappears if they change to the Crypsis template.

Have I correctly summarised the situation?
Last edit: 3 years 5 months ago by sozzled.

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago #10 by 810
Only there is a two-state indicator on the crypsis, when there is a new topic, the icon gets the color of the new indicator (color option in the backend)

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.125 seconds