- Posts: 12
COMMUNITY FORUM
Template, additional css file
- Leah Bartlett
-
Topic Author
- Offline
- New Member
Less
More
14 years 8 months ago #88454
by Leah Bartlett
Template, additional css file was created by Leah Bartlett
I am creating another template which is essentially a copy of the default with just a few changes. However, I need it to have it's own CSS file to make more changes.Can anyone direct me to where K2 calls the css file? how are multiple templates with their own css files usually handled?
Please Log in or Create an account to join the conversation.
- Jiliko.net
-
- Offline
- Platinum Member
Less
More
- Posts: 567
14 years 8 months ago #88455
by Jiliko.net
Replied by Jiliko.net on topic Template, additional css file
Hi Leah,
To do that, just install this "fantastic" plugin : oneCss4K2Template !
Olivier
To do that, just install this "fantastic" plugin : oneCss4K2Template !
Olivier
Please Log in or Create an account to join the conversation.
- Leah Bartlett
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 12
14 years 8 months ago #88456
by Leah Bartlett
Replied by Leah Bartlett on topic Template, additional css file
Hey Olivier,
Thanks for the tip. I downloaded the plugin and created a css file 'staff_style.css' and placed it into my 'staff' template folder. I have enabled the plugin, but the categories are still not assigning the css to the front end.
Thanks for the tip. I downloaded the plugin and created a css file 'staff_style.css' and placed it into my 'staff' template folder. I have enabled the plugin, but the categories are still not assigning the css to the front end.
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 8 months ago #88457
by william white
Replied by william white on topic Template, additional css file
Post a link if the site is live
the css file should be in
templates/YourTemplate/html/com_k2/templates/staff folder
This is a very Good Add IN!
the css file should be in
templates/YourTemplate/html/com_k2/templates/staff folder
This is a very Good Add IN!
Please Log in or Create an account to join the conversation.
- Leah Bartlett
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 12
14 years 8 months ago #88458
by Leah Bartlett
Replied by Leah Bartlett on topic Template, additional css file
it isn't live. But perhaps the problem is that I have it in the following location:
joomlaroot/components/com_k2/templates/staff/
I looked at the location you are recommending, there is no com_k2 folder... do I need to create it?
William White said:Post a link if the site is live the css file should be in
templates/YourTemplate/html/com_k2/templates/staff folder
This is a very Good Add IN!
joomlaroot/components/com_k2/templates/staff/
I looked at the location you are recommending, there is no com_k2 folder... do I need to create it?
William White said:Post a link if the site is live the css file should be in
templates/YourTemplate/html/com_k2/templates/staff folder
This is a very Good Add IN!
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 8 months ago #88459
by william white
Replied by william white on topic Template, additional css file
The onecss4k2 is designed to be used in a k2 override
check this simon.getk2.org/component/k2/item/91-templating
and it will explain it a bit better than i can
check this simon.getk2.org/component/k2/item/91-templating
and it will explain it a bit better than i can
Please Log in or Create an account to join the conversation.
- Leah Bartlett
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 12
14 years 8 months ago #88460
by Leah Bartlett
Replied by Leah Bartlett on topic Template, additional css file
Got it!
Thank you so much!
William White said:The onecss4k2 is designed to be used in a k2 override check this simon.getk2.org/component/k2/item/91-templating
and it will explain it a bit better than i can
Thank you so much!
William White said:The onecss4k2 is designed to be used in a k2 override check this simon.getk2.org/component/k2/item/91-templating
and it will explain it a bit better than i can
Please Log in or Create an account to join the conversation.