Keyword

[SOLVED] Categories columns problem

More
11 years 8 months ago - 11 years 8 months ago #118365 by Alias
Hello everyone, I'm new here.

I have a problem with k2 menu item layout. Articles wont show in two columns.
I point it to (multiple) categories, set leading count to 0 and columns to 0, primary articles to for example 30, and columns to 2, but it doesnt work, everything shows in one column.

Can anybody help me? I'm sure that I should change something in the category.php (correct me if i'm wrong), but dont know what, dont have so much expirience.

I uploaded category.php in attachment so you can see it.

Thanks in advance, I would appriciate your help very much! :)


Attachment not found

Attachments:

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 8 months ago #118366 by Yiota
Replied by Yiota on topic Re: Categories columns problem
If you do not load the default k2.css then you should add in your template's css file this:

.itemContainer {float:left;}

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago - 11 years 8 months ago #118367 by Alias
Replied by Alias on topic Re: Categories columns problem
Hello Yiota Ziaggou,

Thank you for your answer.

I am using k2.css which already was in my template package. I searched it and found .itemContainer {float:left;}

Can you see the code below and give me some advice what should I do next? :dry:

Attachment not found

Attachments:

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago - 11 years 8 months ago #118368 by Lefteris
Replied by Lefteris on topic Re: Categories columns problem
Make sure that you haven't Disabled the use of k2.css through the K2 Parameters and that it loads in your page.

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #118369 by Alias
Replied by Alias on topic Re: Categories columns problem
Yes, you're right, it was disabled. Now is enabled, but no changes at all.

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 8 months ago #118370 by Yiota
Replied by Yiota on topic Re: Categories columns problem
Is it possible to provide a link to your page?

Thank you.

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #118371 by Alias
Replied by Alias on topic Re: Categories columns problem
Yes, it is.

Here you are, this is temporary link linked to the page where columns wont show.

host21.dwhost.net/~glasslin/sr/index.php/staklo

Thank you very much for your time.

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 8 months ago #118372 by Yiota
Replied by Yiota on topic Re: Categories columns problem
Just locate this div.itemContainer in k2.css and add a float:left;

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #118373 by Alias
Replied by Alias on topic Re: Categories columns problem
ITS WORKING!

I located div.itemContainer {/*float:left;*/ margin:0 0 20px;}, deleted the margin part and now everything works.

Thank you again, Yiota Ziaggou, I really appreciate it!

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum