Keyword

Different image style for each category

  • Gabriela Cordero Jahr
  • Gabriela Cordero Jahr's Avatar Topic Author
  • Offline
  • New Member
More
12 years 3 months ago #67586 by Gabriela Cordero Jahr
Different image style for each category was created by Gabriela Cordero Jahr
Hello, I need to give a different style to the images, differentiating them by category. Thus, a category will have all images with a frame background (a background image) and one category will have another frame (another background image). The images loaded now in the default style "image" of k2.css. I do not know how to separate this style by assigning different categories, or failing that, where could insert on what php file for each category like that ... Does anyone could help me?

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

More
12 years 3 months ago #67587 by Lefteris
Replied by Lefteris on topic Re: Different image style for each category
You cannot have different CSS files per category. You can make a template override for each category and apply different classes to the elements you like depending on category. After that you can style each class however you like.

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

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

  • Gabriela Cordero Jahr
  • Gabriela Cordero Jahr's Avatar Topic Author
  • Offline
  • New Member
More
12 years 2 months ago #67588 by Gabriela Cordero Jahr
Replied by Gabriela Cordero Jahr on topic Re: Different image style for each category
Thanks! really was easy to resolve. I had to create differents templates based in actual default template and assign each them in backend. Thanks again.

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

More
12 years 2 months ago #67589 by Lefteris
Replied by Lefteris on topic Re: Different image style for each category
You are welcome.

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

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


Powered by Kunena Forum