- Posts: 5
COMMUNITY FORUM
[SOLVED] Categories columns problem
- Alias
- Topic Author
- Offline
- New Member
Less
More
11 years 2 weeks ago - 11 years 2 weeks ago #118365
by Alias
[SOLVED] Categories columns problem was created 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! :)
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
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
11 years 2 weeks 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;}
.itemContainer {float:left;}
Please Log in or Create an account to join the conversation.
- Alias
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
11 years 2 weeks ago - 11 years 2 weeks 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:
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
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
11 years 2 weeks ago - 11 years 2 weeks ago #118368
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Alias
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
11 years 2 weeks 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
- Visitor
11 years 2 weeks 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.
Thank you.
Please Log in or Create an account to join the conversation.
- Alias
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
11 years 2 weeks 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.
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
- Visitor
11 years 2 weeks 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.
- Alias
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
11 years 2 weeks 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!
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.