K2 Categories Columns Problem

Responsive Joomla template for Entertainment and Music purpose with clean and lightweight design.
GK User
Tue Mar 13, 2012 4:34 pm
Hi, I am using Music template with K2,

The poblem is easy Although I choose 2 column view
The categories seem one column

When I delete k2.css and try again it resolves
Where is the problem in k2.css?
User avatar
Fresh Boarder

GK User
Sun Mar 18, 2012 3:44 am
Hi

Well... yes. That's because of the complexity of K2 style used on Music template.
Mostly because of the k2 article date position.

But you can try doing like this:
On Menu link that you use for K2 two columns > Page Display Options
add this class on "Page Class" textfield:

"[space]k2_2columns"

screen.png


Enable override.css file and add this lines on it:

Code: Select all
#k2Container.k2_2columns .latestItemsContainer {float: left;width: 47%!important; }
#k2Container.k2_2columns .latestItemsContainer:first-child {margin-right: 50px!important; }
#k2Container.k2_2columns .latestItemsContainer + .latestItemsContainer {float: right}


The result show be something like this:

screen2.png


Hope this could help.

Cheers ;)
User avatar
Platinum Boarder

GK User
Mon Apr 30, 2012 12:06 am
I have the same issue and it dont work

Sub categories is shown as one column, no matter what...

Please tell how to correct this...

regards
Bison
User avatar
Expert Boarder

GK User
Mon Apr 30, 2012 10:48 am
Hi

Did you try the solution added ?
Please show me your website.
User avatar
Platinum Boarder

GK User
Mon Apr 30, 2012 12:27 pm
User avatar
Expert Boarder

GK User
Wed May 16, 2012 9:43 pm
Seichinha wrote:Hi

Did you try the solution added ?
Please show me your website.


Hi Seichinha - Any solution for the problem with columns

on http://www.kameratest.dk/kameratest2/fotoskolen.html
User avatar
Expert Boarder

GK User
Wed May 16, 2012 10:58 pm
Hi

Your problem is different.
Try adding this lines on override.css file:

Code: Select all
#k2Container .subCategoryContainer { float:left; }
#k2Container .subCategory {margin: 4px 12px 12px 0;}
#k2Container .catItemContent {margin: 0 22px 0 11px}


Cheers
User avatar
Platinum Boarder

GK User
Thu May 17, 2012 8:25 am
Hi Seichinha

It almost works. It works on the first 2 but not on the rest....
http://www.kameratest.dk/kameratest2/fotoskolen.html


So close, can you help !

best regards
User avatar
Expert Boarder

GK User
Thu May 17, 2012 8:37 am
Hi again Seichinha

Another error is that module loaded in the right side
has moved down to the left of the page....
http://www.kameratest.dk/kameratest2/fotoskolen.html


regards
User avatar
Expert Boarder

GK User
Fri May 25, 2012 3:49 pm
Hi Bison,

You've asked me to chime in this topic to help but I don't understand the problem you've got, it'd be better if you could describe it specifically or give me a screenshot with annotations to show what are remaining that need to solve otherwise I will leave this to my fellow @Seichinha to continue helping you out as he knows this best.

Thanks,
User avatar
Platinum Boarder

teitbite
Sun Jun 03, 2012 3:21 pm
Hi

I was also asked to join discussion :)

Can You please tell me if You have made any changes to the template ? Because I can clearly see a validation issue. Please check a content of articles or k2 category description and check if all HTML tags are being closed propperly.

http://validator.w3.org/check?uri=http% ... ne&group=0
User avatar
Moderator

GK User
Wed Jun 06, 2012 1:35 am
Hi

Sorry about the delay.
I see it working well...
screen.jpg


but please update Music template files to latest version.
If you still have any problem with k2 subcategories columns layout, please try removing the previous code added on override.css file and add only this line:

Code: Select all
.subCategoryContainer {float: left}


What i do see in your page is the right column blocking full k2 component width. You probably have something publish it on.
User avatar
Platinum Boarder

teitbite
Thu Jun 07, 2012 10:27 am
Hi

Saichinha is right. I can see a javascript code loaded in right column. Most probably for some google adds.
User avatar
Moderator

GK User
Wed Oct 14, 2015 12:56 pm
I have a similar problem in Gk Hotel...
http://www.nieuwbouwwonen.com/site/index.php/nl/nieuws
How can I put the news items in 2 columns?
Thanks,
Pebim
User avatar
Junior Boarder

teitbite
Fri Oct 16, 2015 2:00 pm
Hi

Columns has been disabled in category layout if You want to bring it back You will have to rename /html/com_k2/templates/default/category.php to _category.php
User avatar
Moderator

GK User
Fri Oct 16, 2015 2:19 pm
THanks, it worked..
But: it didn't work out the way I figured. Now I have to find a way to minimize the count of news items to 3 or 4. I mean: to set a limit of three to four newsitems to show under the 'K2 Category menu-item'. You understand? I presume I have to start another feed though...
But thanks again!
User avatar
Junior Boarder

teitbite
Sun Oct 18, 2015 4:23 pm
Hi

No. I'm sorry I do not understand, but if You are going to use the same number of columns every time than revert this changes back to as it was and tell me the url to the page with example. I'll try to come up with code to have columns in this layout.
User avatar
Moderator


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