- Posts: 9
COMMUNITY FORUM
specific css class by article tags
- tincup
- Topic Author
- Offline
- New Member
Less
More
10 years 1 month ago #130852
by tincup
Replied by tincup on topic Re: specific css class by article tags
I created a new k2 template and I assigned the category and the menu to the new template. I set the tags for each article in the category and I modified the category_item.php file in the folder /templates/mytemplate/html/com_k2/default/
But the css class is always "catItemView".
this is the link of the site is still under construction: alternativo.fablabsassari.org
But the css class is always "catItemView".
this is the link of the site is still under construction: alternativo.fablabsassari.org
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 1 month ago #130853
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: specific css class by article tags
Try to add some classes (dummy ones) to see if they show up.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- tincup
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
10 years 1 month ago #130854
by tincup
Replied by tincup on topic Re: specific css class by article tags
tried to add css classes with the same name of the tag in my custom.css and k2.css. nothing has changed :(
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 1 month ago #130855
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: specific css class by article tags
Sorry, I meant to add a dummy class to the category item so I can see that the correct file is being edited.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- tincup
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
10 years 1 month ago #130856
by tincup
Replied by tincup on topic Re: specific css class by article tags
I added the class "test" with white color background. Could you check? Did you mean this?
Please Log in or Create an account to join the conversation.