Keyword

Featured Items

  • Carlos
  • Carlos's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 11 months ago #119981 by Carlos
Featured Items was created by Carlos
Hello, I would like to replace where is says featured with an image instead. Been trying to figure it out but cant get it going? Can anyone help me with this? Thanks

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 #119982 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Featured Items
Hello Carlos,

By default this can be changed in k2.css. Make sure that your template is not using its own version of k2.css. If not override it instead of editing it.

The language string is located in the item.php and category_item.php files.

This tutorial will help you locate the files you need to edit:
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Carlos
  • Carlos's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 11 months ago #119983 by Carlos
Replied by Carlos on topic Re: Featured Items
Thank you. I tried several things with my cutom rss and even playing with the php files but i haven't been able to figure out how to properly alter it to have the image show on featured items?

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 #119984 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Featured Items

I tried several things with my cutom rss


What are you trying to achieve? Are you trying to have images only in featured items or replacing the featured indicator? I do not understand what this has to do with RSS feeds.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Carlos
  • Carlos's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 11 months ago #119985 by Carlos
Replied by Carlos on topic Re: Featured Items
Sorry rss was a typo, i meant to write custom css, i want replace the featured indicator with an image of my choosing instead of the text that shows.

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 #119986 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Featured Items
Ok then, I understood correctly.

Is the k2.css loading enabled? You need to check the component's settings to verify this.
If not you need to add the code to your template's css.

If it is, it is located in your template's /css folder or in the folder described by the tutorial (look at my first post).

If the developer has stripped K2's default styling you can check the default k2.css to see how it's done.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Carlos
  • Carlos's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 11 months ago #119987 by Carlos
Replied by Carlos on topic Re: Featured Items
I have been using a custom CSS for K2 with has work for other things i made adjustments to. I tried it in that and even my templates custom css file. Perhaps im not putting the right thing in this is what i was trying:
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 #119988 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Featured Items
The code seems correct, but you need to open your browser's developer tools and make sure that other values from your template are not overriding this.

Finally make sure your template has that class in it's overrides.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Carlos
  • Carlos's Avatar Topic Author
  • Offline
  • Senior Member
More
10 years 11 months ago #119989 by Carlos
Replied by Carlos on topic Re: Featured Items
Nothing is overriding, i did try some other code:
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 #119990 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Featured Items
try text-indent or simply remove it from your overrides.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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