Keyword

[SOLVED] featured icon not in my language in category view

  • Jacek Czok
  • Jacek Czok's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 days ago #118894 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
  • Jacek Czok's Avatar Topic Author
  • Offline
  • New Member
More
10 years 11 months ago #118895 by Jacek Czok
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
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 11 months ago #118896 by Krikor Boghossian
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
  • Jacek Czok's Avatar Topic Author
  • Offline
  • New Member
More
10 years 11 months ago #118897 by Jacek Czok
This is text. Here is a screenshot with featured not translated - category view


In article view featured is translated correctly

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 11 months ago #118898 by Krikor Boghossian
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.

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
  • Jacek Czok's Avatar Topic Author
  • Offline
  • New Member
More
10 years 11 months ago #118899 by Jacek Czok
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 :
<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
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 11 months ago #118900 by Krikor Boghossian
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

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
  • Jacek Czok's Avatar Topic Author
  • Offline
  • New Member
More
10 years 11 months ago #118901 by Jacek Czok
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.


Powered by Kunena Forum