Loading Alternate K2 Templates

GK User
Fri Jul 27, 2012 8:27 pm
Do alternate K2 templates automatically work when selected for a K2 category? or is there something else that needs to be done to replace the default template.
User avatar
Expert Boarder

GK User
Sat Jul 28, 2012 9:50 pm
We don't use any special K2 templates just overwrite layout and add k2.css file. If you want to remove our styles please just rename the html/com_k2 directory.
User avatar
Platinum Boarder

GK User
Tue Jul 31, 2012 5:41 am
Thanks, for the reply. What I would like to do is left justify K2 individual items: see link: http://secbattles.com/hate-your-rivals- ... r/item/102


bkrztuk wrote:We don't use any special K2 templates just overwrite layout and add k2.css file. If you want to remove our styles please just rename the html/com_k2 directory.
User avatar
Expert Boarder

GK User
Wed Aug 01, 2012 9:26 am
Could you attach some draft how it should looks like ? I've opened your site and see one column item view so don't know what part you want to justify.
User avatar
Platinum Boarder

GK User
Wed Aug 01, 2012 2:12 pm
Thanks Bkrztuk, I have attached the image of how I would like the item justified.

It's justified on the k2 category pages: http://secbattles.com/football

But not left justified when you select actual k2 item: http://secbattles.com/football/team-1/i ... the-troops

bkrztuk wrote:Could you attach some draft how it should looks like ? I've opened your site and see one column item view so don't know what part you want to justify.
User avatar
Expert Boarder

GK User
Thu Aug 02, 2012 11:10 am
Ok, now I see what you want to change please try with this code:

Code: Select all
div.itemToolbar {clear: both; width: 100% !important}
div.itemImageBlock {float: left; margin: 0 10px 0 0 !important }
User avatar
Platinum Boarder

GK User
Thu Aug 02, 2012 3:28 pm
Thanks bkrztuk, that code works.

bkrztuk wrote:Ok, now I see what you want to change please try with this code:

Code: Select all
div.itemToolbar {clear: both; width: 100% !important}
div.itemImageBlock {float: left; margin: 0 10px 0 0 !important }
User avatar
Expert Boarder


cron