Keyword

mod_k2_content in 2 columns

  • stavroch
  • stavroch's Avatar Topic Author
  • Offline
  • Elite Member
More
14 years 2 months ago #85481 by stavroch
mod_k2_content in 2 columns was created by stavroch
Can I display the results of mod_k2_content (most popular items) in two columns?

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

More
14 years 2 months ago #85482 by Markus Thiel
Replied by Markus Thiel on topic mod_k2_content in 2 columns
Easy as pie! ;)

Just set the containing div to 50% and float left in the css :)

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

  • stavroch
  • stavroch's Avatar Topic Author
  • Offline
  • Elite Member
More
14 years 2 months ago #85483 by stavroch
Replied by stavroch on topic mod_k2_content in 2 columns
Great job ;)

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

More
14 years 2 weeks ago #85484 by tasos26t
Replied by tasos26t on topic mod_k2_content in 2 columns
in which class do I set the containing div to 50%?

I have tried on div.k2ItemsBlock but it just decreased width but did not move the 2nd item next to it but left it below.

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

  • stavroch
  • stavroch's Avatar Topic Author
  • Offline
  • Elite Member
More
14 years 2 weeks ago #85485 by stavroch
Replied by stavroch on topic mod_k2_content in 2 columns
#popular .k2ItemsBlock .odd {
float:left;
width:45%;
}

#popular .k2ItemsBlock .even {
float:right;
width:45%;
}

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


Powered by Kunena Forum