Hi
I want only 4 columns in footer widgets area how can I do this? I did not find any option.
Please help.
Thanks
Hi
I want only 4 columns in footer widgets area how can I do this? I did not find any option.
Please help.
Thanks
In footer.php replace following code:
<!-- ####### FOOTER CONTAINER ####### -->
<div class='container_wrap' id='footer'>
<div class='container'>
<div class="one_fifth first">
<span class='arrow-down'></span>
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column1') ) : else : avia_dummy_widget(1); endif; // dummy widgets defined at the bottom of sidebar-widgets.php ?>
</div>
<div class="one_fifth">
<span class='arrow-down'></span>
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column2') ) : else : avia_dummy_widget(2); endif; // dummy widgets defined at the bottom of sidebar-widgets.php ?>
</div>
<div class="one_fifth">
<span class='arrow-down'></span>
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column3') ) : else : avia_dummy_widget(3); endif; // dummy widgets defined at the bottom of sidebar-widgets.php ?>
</div>
<div class="one_fifth">
<span class='arrow-down'></span>
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column4') ) : else : avia_dummy_widget(4); endif; // dummy widgets defined at the bottom of sidebar-widgets.php ?>
</div>
<div class="one_fifth">
<span class='arrow-down'></span>
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column5') ) : else : ?>
<a href='<?php echo get_permalink(avia_get_option('avia, email_page'));?>' class='custom_button rounded'><strong><?php _e('Contact Form','avia_framework'); ?></strong><span><?php _e('get in touch with us','avia_framework'); ?></span></a>
<p><?php _e('This site uses valid HTML and CSS. All contents Copyright ©','avia_framework'); echo get_bloginfo('name');?></p>
<?php endif;?>
</div>
</div>
</div>
<!-- ####### END FOOTER CONTAINER ####### -->
with:
<!-- ####### FOOTER CONTAINER ####### -->
<div class='container_wrap' id='footer'>
<div class='container'>
<div class="one_fourth first">
<span class='arrow-down'></span>
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column1') ) : else : avia_dummy_widget(1); endif; // dummy widgets defined at the bottom of sidebar-widgets.php ?>
</div>
<div class="one_fourth">
<span class='arrow-down'></span>
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column2') ) : else : avia_dummy_widget(2); endif; // dummy widgets defined at the bottom of sidebar-widgets.php ?>
</div>
<div class="one_fourth">
<span class='arrow-down'></span>
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column3') ) : else : avia_dummy_widget(3); endif; // dummy widgets defined at the bottom of sidebar-widgets.php ?>
</div>
<div class="one_fourth">
<span class='arrow-down'></span>
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column4') ) : else : avia_dummy_widget(4); endif; // dummy widgets defined at the bottom of sidebar-widgets.php ?>
</div>
</div>
</div>
<!-- ####### END FOOTER CONTAINER ####### -->
Then open up broadscope\includes\register-widget-area.php and replace following code:
$footer_widgets = array('column1','column2','column3','column4','column5');
with:
$footer_widgets = array('column1','column2','column3','column4');Hi, I want also to change Footer in Three or Two but in my footer.php i see only this:
<?php global $k_option; ?>
<div class="clearboth"></div>
<!-- end center-->
</div>
<!--end wrapper-->
</div>
<div class="wrapper footer ie6fix" id='wrapper_footer_top'>
<div class='overlay_top ie6fix'></div>
<div class='center' id="footer_inside">
<?php
$columns = 1;
foreach ($k_option['custom']['footer'] as $footer_widget) //iterates 3 times creating 3 footer widget areas
{
$last = "";
if($columns == 4){$last = "last"; }
echo '<div class="footerColumn '.$footer_widget.' '.$last.'">';
if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - '.$footer_widget) ) :
else : dummy_widget($columns); endif; // dummy widgets defined at the bottom of widgets.php
echo '</div>';
$columns++;
}
?>
<!--end footer_inside-->
</div>
Hi design2impress,
Is this with Broadscope or a different theme?
Regards,
Devin
Hi Devin,
No Avisio
Hey!
Have a look at this thread: http://www.kriesi.at/support/topic/avisio-footer-yikes
Best regards,
Peter
This topic has been closed to new replies.