Hi,
Is it possible to add more boxes under the 3 columns on the mainpage? So as an example it could display 6 posts
Thanks
Kristian
Hi,
Is it possible to add more boxes under the 3 columns on the mainpage? So as an example it could display 6 posts
Thanks
Kristian
Sure, open up /framework/classes/kclass_display_box.php and find this code:
function kclass_display_box($pagename, $boxname, $widgetname, $placeholder = array(), $default = 3)
Change it to:
function kclass_display_box($pagename, $boxname, $widgetname, $placeholder = array(), $default = 6)
Next, open up /theme_options/mainoage.php, and find this code:
array( "name" => "Mainpage - Column",
"desc" => "How to populate Mainpage Columns",
"id" => "mainpage_column",
"widget" => "Mainpage Column",
"type" => "boxes",
"count" => 3),
Change it to:
array( "name" => "Mainpage - Column",
"desc" => "How to populate Mainpage Columns",
"id" => "mainpage_column",
"widget" => "Mainpage Column",
"type" => "boxes",
"count" => 6),
You'll probably need to tidy up the layout by editing the CSS, depending on your boxes' content.
I went ahead and did was was suggested and it works well. Boxes 4 and 5 show up perfectly, but box 6 shows up on the 3rd row and leaves an empty spot where box 6 should have gone. Where in the CSS can I edit this?
I fixed it. Just add the following to your CSS:
.wrapper .box6{
margin:0;
}
Glad that you solved the problem.
You must log in to post.