Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1585

    I want to change the number of colums on the footer. I only need 2 or 3 colums and I want those 2 or 3 widget to fil up the entire width.

    Can you tell me which files to adjust. Or is this not easily done.

    I tried to lower the $columns == 4 number but that didn’t help.

    #35735

    In widgets.php locate the following code and delete the columns you don’t want.

    $k_option['custom']['footer'] = array('column1','column2','column3','column4');

    For example if you want two columns the code should look like:

    $k_option['custom']['footer'] = array('column1','column2');

    In footer.php locate the following line:

    if($columns == 4){$last = "last"; }

    Change it to:

    if($columns == 2){$last = "last"; }

    In style.css locate:

    .footerColumn{overflow:hidden; float:left; position: relative; margin-right:40px; width:182px; font-size:11px;}

    Change the width to your desired width. For example:

    .footerColumn{overflow:hidden; float:left; position: relative; margin-right:40px; width:400px; font-size:11px;}

    Log into your WP-Admin panel and view your widget areas. You should now only have two Footer Widgets.

    This may not be the best method as I’m not a developer, but I have a pretty good understanding of the code when I look at it and to me that gave the desired result :)

    Might need the official support team here to give my method the once over to make sure it’s correct :)

    #35736

    Thanks Mansize Rooster for helping us out. Your code is correct and a sexy solution :).

    #35737

    Thanks :D

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Footer not 4 colums but 3 or 2’ is closed to new replies.