- Posts: 9
COMMUNITY FORUM
K2 Categories - Subcategories list. Frame around
- Przemek
- Topic Author
- Offline
- New Member
Less
More
10 years 2 months ago #130442
by Przemek
K2 Categories - Subcategories list. Frame around was created by Przemek
Hi
when i set K2- category there are displayed subcategories. But there is something that i want to remove. Every subcategory has a frame around... I dont know how to remove it. Pls Help me. I wan see subcategories without any frames. PLS CHECK FILE TO SEE what i am thinking about.
when i set K2- category there are displayed subcategories. But there is something that i want to remove. Every subcategory has a frame around... I dont know how to remove it. Pls Help me. I wan see subcategories without any frames. PLS CHECK FILE TO SEE what i am thinking about.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 2 months ago #130443
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: K2 Categories - Subcategories list. Frame around
This is from your template's stylesheet.
Without a link it is not possible to see the actual rules.
Without a link it is not possible to see the actual rules.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Przemek
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
10 years 2 months ago #130444
by Przemek
Replied by Przemek on topic Re: K2 Categories - Subcategories list. Frame around
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 2 months ago #130445
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: K2 Categories - Subcategories list. Frame around
Remove border: 1px solid #ddd; for the border
and/ or background: #f7fafe; for the background.
from div.subCategory k2.css line 371.
You should also override that stylesheet so you won't lose any changes.
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
and/ or background: #f7fafe; for the background.
from div.subCategory k2.css line 371.
You should also override that stylesheet so you won't lose any changes.
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.
- Przemek
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
10 years 2 months ago #130446
by Przemek
Replied by Przemek on topic Re: K2 Categories - Subcategories list. Frame around
I can remove this frame but only global. But know i decided not to remove this frame but change it background. I did it but only global.
For example now at my site there are two category: "Artyści" and "Zespoły".
I want to make separate css styles for the first category "Artyści". and separate css styles for the second category "Zespoły"
I tried as was suggested at different forums.
I also need overrite the category.php for this category at same time. What i Did:
I duplicated a template located in /HTML/com_k2/templates/default and giving it a new name which was displayed as a new template ("otherlook"). I already managed to override php for category "artyści" but i also want to make css style changes at same time. I copied here the K2.css ande change it name to otherlook_style.css but it dont works. It dont change the background inside this frame. I checked this color global and it was working but not only for this category.
The final effect i want is different background inside frame around subcategories inside Parent cateogry "Artyści" and different color inside frame around subcategories inside Parent cateogry "Zespoły"
here is link to K2 - categories - category : "Artyści"
pls tell me how to make own css setting for category but php overiting need to work at the same time for this category.
For example now at my site there are two category: "Artyści" and "Zespoły".
I want to make separate css styles for the first category "Artyści". and separate css styles for the second category "Zespoły"
I tried as was suggested at different forums.
I also need overrite the category.php for this category at same time. What i Did:
I duplicated a template located in /HTML/com_k2/templates/default and giving it a new name which was displayed as a new template ("otherlook"). I already managed to override php for category "artyści" but i also want to make css style changes at same time. I copied here the K2.css ande change it name to otherlook_style.css but it dont works. It dont change the background inside this frame. I checked this color global and it was working but not only for this category.
The final effect i want is different background inside frame around subcategories inside Parent cateogry "Artyści" and different color inside frame around subcategories inside Parent cateogry "Zespoły"
here is link to K2 - categories - category : "Artyści"
pls tell me how to make own css setting for category but php overiting need to work at the same time for this category.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 2 months ago #130447
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: K2 Categories - Subcategories list. Frame around
You can have only one css file, you do not need to create multiple stylesheets.
You can use one class to your container to separate your styles.
As for multiple templates this post will help you: nuevvo.com/blog/item/84-k2-inheritance-sub-templating
You can use one class to your container to separate your styles.
As for multiple templates this post will help you: nuevvo.com/blog/item/84-k2-inheritance-sub-templating
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.