- Posts: 6
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] featured icon not in my language in category view
[SOLVED] featured icon not in my language in category view
- Jacek Czok
- Topic Author
- Offline
- New Member
Less
More
11 years 2 days ago #118894
by Jacek Czok
[SOLVED] featured icon not in my language in category view was created by Jacek Czok
In category view featured icon is in english while in article view is in polish. How to change icon in category view to polish ?
Please Log in or Create an account to join the conversation.
- Jacek Czok
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
10 years 11 months ago #118895
by Jacek Czok
Replied by Jacek Czok on topic Re: featured icon not in my language in category view
This is text - no icon, but it is not K2_Featured. In item view K2_Featued is used but what in category view ?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 11 months ago #118896
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: featured icon not in my language in category view
This is a background image coming from your CSS file. You need to either your stylesheet or override and replace that image (images/system/featured.png)
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Jacek Czok
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
10 years 11 months ago #118897
by Jacek Czok
Replied by Jacek Czok on topic Re: featured icon not in my language in category view
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 11 months ago #118898
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: featured icon not in my language in category view
The first one appears to be an image which you have to replace, and the second one is a language string which can be translated.
You can also try pasting the code from the article instead of the image.
Make sure you are careful and notice where $this->item and $item-> are used.
You can also try pasting the code from the article instead of the image.
Make sure you are careful and notice where $this->item and $item-> are used.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Jacek Czok
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
10 years 11 months ago #118899
by Jacek Czok
Replied by Jacek Czok on topic Re: featured icon not in my language in category view
I think that this is a text . Images "featured" are placed in /components/com_k2/images/system and are diffrent. But I don't understand how it works , in firefox inspector shows such html :
On screen I see
Jarmark świąteczny Praga Featured
When I remove h3.catItemTitle in firefox inspector title and featured are dissapeared
<h3 class="catItemTitle">
<a href="/swieta-i-sylwester/item/9-jarmark-swiateczny-praga.html">
Jarmark świąteczny - Praga
</a>
</h3>
On screen I see
Jarmark świąteczny Praga Featured
When I remove h3.catItemTitle in firefox inspector title and featured are dissapeared
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 11 months ago #118900
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: featured icon not in my language in category view
It is in your k2.css you need to edit the background property of the following classes (in your template's k2.css).
div.itemIsFeatured,
div.catItemIsFeatured,
div.userItemIsFeatured
div.itemIsFeatured,
div.catItemIsFeatured,
div.userItemIsFeatured
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Jacek Czok
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
10 years 11 months ago #118901
by Jacek Czok
Replied by Jacek Czok on topic Re: featured icon not in my language in category view
I found it. It was : icon-featured.png and it was placed in ext/k2/ subfolder of my template ( JSN series ) , so template was overwriting k2,css > Thank for help :)
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] featured icon not in my language in category view