-
AuthorPosts
-
January 7, 2012 at 12:08 pm #172537
Does Kranos support K2 sub-template overrides?
They would be stored in templates/YOUR_TEMPLATE/html/com_k2/templates
I assume K2 will find the sub-templates in that path, but will the k2 sub-templates override the k2.css ?
dave_logic Frienddave_logic
- Join date:
- December 2011
- Posts:
- 95
- Downloads:
- 17
- Uploads:
- 6
- Thanks:
- 6
- Thanked:
- 11 times in 1 posts
January 7, 2012 at 12:23 pm #432917<em>@modernmagic 293424 wrote:</em><blockquote>Does Kranos support K2 sub-template overrides?
They would be stored in templates/YOUR_TEMPLATE/html/com_k2/templates
I assume K2 will find the sub-templates in that path, but will the k2 sub-templates override the k2.css ?</blockquote>
I use K2 templates a lot…K2 will find the overrides (templates/YOUR_TEMPLATE/html/com_k2/templates/<template-folder> but need to be selected per category in K2 admin or 1 category with the others inheriting..This applies to any Joomla Template really..
I just use the same K2.css for all however there is a plugin knocking about on the JED that allows for per category CSS. Maybe this feature has been enabled in K2 2.5x but not sure..
Dave
1 user says Thank You to dave_logic for this useful post
January 7, 2012 at 6:11 pm #432931I wrote that post at in the middle of the night my time so maybe I got a little confused.
I am under the impression that when you use K2 sub-templates that are selected per category, the sub-template css file is loaded instead of the k2.css.
See screenshot of primocarft.com:
January 7, 2012 at 6:16 pm #432932primocraft.com was one of my first joomla sites so I had forgotten what I had done.
I had installed a K2 Plugin – One css per K2 template. The plugin description states, “Description: This K2 plugin enables 1 css file for 1 k2 template. If you’ve created a k2 template called ‘mytpl’ and affected it to a k2 category, the plugin will automatically add the css file ‘templates/YOURJOOMLATEMPLATE/html/com_k2/templates/mytpl/mytpl_style.css’ to the document stylesheet list when the k2 category or an item of this category will be displayed.”
Maybe this is why I was assuming I would be seeing the sub-templates “mytpl_style.css” in firebug instead of k2.css
Does this make sense?
January 7, 2012 at 6:21 pm #432933Wow, obviously I’m foggy after 4 hours of sleep after picking up this new client….
I found that free plugin and you might want to try it:
http://www.jiliko.net/extensions/downloads/free/8-css4k2January 7, 2012 at 6:25 pm #432934And one last reply to my own post…. LOL
Yes, that plugin did the trick. see screenshot from my new site:
dave_logic Frienddave_logic
- Join date:
- December 2011
- Posts:
- 95
- Downloads:
- 17
- Uploads:
- 6
- Thanks:
- 6
- Thanked:
- 11 times in 1 posts
January 8, 2012 at 8:25 am #432960<em>@modernmagic 293450 wrote:</em><blockquote>And one last reply to my own post…. LOL
Yes, that plugin did the trick. see screenshot from my new site:
</blockquote>Hi,
Yeah, that was the plugin I was referring to. I’ve been waiting for them to update to Joomla 1.7 which it looks like they have now so might give it a try myself….Glad it all working for you..
Dave
AuthorPostsViewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 2 voices, and was last updated by dave_logic 12 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum