k2 category template

Winter sport ecommerce template for Joomla with VirtueMart support
GK User
Mon May 20, 2013 10:13 am
hi please see the link below

http://samratbazaar.com.sg/jooo30/index.php/desktop-pc

wish the k2 children category to have 2 colums, but all i see i one category below the other. not getting two column,
tried setting in k2 category parameters also. cannot make it

also like to remove the word children categories

thanks
User avatar
Expert Boarder

GK User
Mon May 20, 2013 10:20 am
Hi,
please try add to override.css
Code: Select all
#k2Container.itemListView .subCategoryContainer {
float:left;
}

and remember to enable override.css option in template settings.
User avatar
Gold Boarder

GK User
Mon May 20, 2013 10:21 am
To disable "Children Catogory" text, enable override.css in your template settings, then edit:
/templates/gk_esport/css/override.css
and add at its end:
Code: Select all
#k2Container .itemListSubCategories div.itemListSubCategories h2 {display: none}


to enable 2 colums, in same file add:

Code: Select all
#k2Container .itemListSubCategories div.subCategoryContainer {float: left;}
User avatar
Moderator

GK User
Thu May 30, 2013 1:46 am
Cyberek wrote:To disable "Children Catogory" text, enable override.css in your template settings, then edit:
/templates/gk_esport/css/override.css
and add at its end:
Code: Select all
#k2Container .itemListSubCategories div.itemListSubCategories h2 {display: none}


to enable 2 colums, in same file add:

Code: Select all
#k2Container .itemListSubCategories div.subCategoryContainer {float: left;}

thanks but still did not work, so went to k2.ini and removed children categories within the " children categories " and then ok now
https://www.gavick.com/forums/corporate ... -4338.html
User avatar
Expert Boarder

GK User
Wed Nov 26, 2014 11:34 am
Hi I would like the same thing for #k2Container .itemListSubCategories to be in two columns instead of just one.

Could anybody help?

Much Appreciated!
User avatar
Platinum Boarder

GK User
Wed Nov 26, 2014 5:09 pm
You have the solution above - what's wrong with it?
User avatar
Moderator

GK User
Wed Nov 26, 2014 6:14 pm
I added the following line to templates/gk_john_s/css/override.css

Code: Select all
#k2Container .itemListSubCategories div.subCategoryContainer {float: left;}


It had no effect, the child category are already floating left; 10 of them.
I would like 5 and 5 in two columns.

So I tried the following code:
Code: Select all
#k2Container .itemListSubCategories div.subCategoryContainer {float: left;}
#k2Container .itemListSubCategories div.subCategoryContainerLast {float: right;}


Now it has 2 columns, but only one item per row (not side by side).

Please have a look to the screenshot in attachment.

Thank you Cyberek!
Regards
User avatar
Platinum Boarder

GK User
Thu Nov 27, 2014 6:18 pm
Could You please post an url to your site?
User avatar
Moderator

GK User
Thu Nov 27, 2014 6:29 pm
Sure. The site is offline so I will send you the credential in private message:
http://miggg.quebecguitare.com/suivi-en ... de-guitare

Thank you Cyberek!
Regards
User avatar
Platinum Boarder

GK User
Sat Nov 29, 2014 5:07 am
Anyone on this?

Much appreciated,
Regards
User avatar
Platinum Boarder

GK User
Sat Nov 29, 2014 2:45 pm
Sorry, but the data you have provided doesn't work.
User avatar
Moderator

GK User
Sat Nov 29, 2014 2:54 pm
Sorry about that. I've sent you the correct login.

Regards
User avatar
Platinum Boarder

GK User
Sat Nov 29, 2014 2:56 pm
Where should I click to get to the page where you are having issue with columns?
User avatar
Moderator

GK User
Sat Nov 29, 2014 2:57 pm
User avatar
Platinum Boarder

GK User
Sat Nov 29, 2014 2:58 pm
Or if the link doesn't work its under menu item "suivi en ligne"

Regards
User avatar
Platinum Boarder

GK User
Sat Nov 29, 2014 3:02 pm
Please edit: /templates/gk_john_s/css/override.css and add at its end:
Code: Select all
.subCategoryContainer {
clear: none;
}


Ps - next time please create your post in correct subform - this is eSport template subforum and your question is on John template, that is why the original solution didn't work.

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Sat Nov 29, 2014 3:06 pm
It worked brilliant!

Thank you,
Regards

PS.: I will! :)
User avatar
Platinum Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.