- Posts: 9
COMMUNITY FORUM
template override
- Gianandrea Gattinoni
- Topic Author
- Offline
- New Member
Less
More
7 years 1 month ago #164652
by Gianandrea Gattinoni
template override was created by Gianandrea Gattinoni
In the past there was a plugin "css4k2" to load a css file from an override template.
It seems that it not anymore available.
Unfortunately, the video that explain the override process is old and I did not find a simple solution like it.
Could you pls let me know how to load automatically a css file tied with an override template?
Many thanks for your help
It seems that it not anymore available.
Unfortunately, the video that explain the override process is old and I did not find a simple solution like it.
Could you pls let me know how to load automatically a css file tied with an override template?
Many thanks for your help
Please Log in or Create an account to join the conversation.
- william white
- Offline
- Platinum Member
Less
More
- Posts: 3722
7 years 1 month ago #164654
by william white
Replied by william white on topic template override
Try putting a copy of k2.css in your templates/YOURTEMPLATE/css/ directory , make changes and they should load
Also, check your templates "custom.css" file. Many tmeplates allow you to use this file to override any css on the site by adding what you want there
Also, check your templates "custom.css" file. Many tmeplates allow you to use this file to override any css on the site by adding what you want there
Please Log in or Create an account to join the conversation.
- Gianandrea Gattinoni
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
7 years 1 month ago #164672
by Gianandrea Gattinoni
Replied by Gianandrea Gattinoni on topic template override
I do not think it works, because I need a different css file for each override template.
the plugin was fantastic /as shown in the video class). Just naming the css file equal to the override template, assign to a page the template to use and the plugin loaded the correct css file.
the plugin was fantastic /as shown in the video class). Just naming the css file equal to the override template, assign to a page the template to use and the plugin loaded the correct css file.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 1 month ago #164686
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic template override
It won't work this way. The CSS file is a global one, since you can add your own classes in your overrides there is no need to add multiple stylesheets. You can also add custom stylesheets using Joomla!'s API in your template.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Gianandrea Gattinoni
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
7 years 1 month ago #164693
by Gianandrea Gattinoni
Replied by Gianandrea Gattinoni on topic template override
Im sorry but using K2 you van have different templates and assign them to the pages you like, so you can have different css file one for each templarìte and you can modify the K2 classes.
plase watch this video: www.youtube.com/watch?v=vprpuc5pLHI
ciao
plase watch this video: www.youtube.com/watch?v=vprpuc5pLHI
ciao
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 1 month ago #164699
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic template override
Yes but still these stylesheets have to be added manually without css4K2.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.