Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #276982

    What i want in footer:
    1) more than 5 column
    2) individual widget spacing (css)

    What i found:
    footer.php : case 6: $class = ‘av_one_sixth’; break; <<< there can be 6 columns, BUT enfold option shown only 5

    Is there any easy way to do it?
    or
    i have to hard code and put the widget shortcode into footer.php one by one?

    #277119

    Hi frankyfranky!

    Open the footer.php file and search for the switch that applies the correct classnames. Change it to read:

    
    switch($columns)
    {
        case 1: $class = ''; break;
        case 2: $class = 'av_one_half'; break;
        case 3: $class = 'av_one_third'; break;
        case 4: $class = 'av_one_fourth'; break;
        case 5: $class = 'av_one_fifth'; break;
        case 6: $class = 'av_one_sixth'; break;
    }
    

    Then open the file includes/admin/register-admin-options.php and scroll down to the bottom of the file. you will see an array entry that is called “Footer Columns”.

    Change the subtype to:

    
    "subtype" => array('1'=>'1','2'=>'2','3'=>'3','4'=>'4','5'=>'5','6'=>'6'));
    

    You can now select a 6 column footer layout in your backend.

    Regards,
    Devin

    #277127

    thank you, it works perfect!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Footer Customization’ is closed to new replies.