Adjust Footer Widget Display
-
Hi, I want to adjust the column in each footer widget, since some of them need a bigger space and some of them just need less space than the others. Can somebody help me with these problem? My website is http://www.mcf-mmc-itb.com
Thankyou before
-
Hi,
Please make child theme and create footer.php file in child theme directory.
Now copy code from link and paste into child theme’s footer.php file.
Save the changes.
Thanks.
well, I’ve already done that, but what I want is the portion of the sponsored by and supported by getting a bigger space since it contained a lot of picture, while the organized by and contact person only need a little space. To be more simple like the sponsored get the 75% and the organized by get the 25% 🙂
HI,
Please add below css into custom css editor.
.textwidget img{ margin:10px; }Save the changes.
Thanks.
I’ve already added the css you recommended into the costum css editor, but nothing changed
Hi,
Please make child theme and copy below code and paste into child theme’s functions.php file.
`add_action( ‘widgets_init’, ‘weblizar_widgets_init1’);
function weblizar_widgets_init1() {
register_sidebar( array(
‘name’ => __( ‘Footer Widget Area’, ‘enigma’ ),
‘id’ => ‘footer-widget-area’,
‘description’ => __( ‘footer widget area’, ‘enigma’ ),
‘before_widget’ => ‘<div id=”%1$s” div class=”col-md-3 col-sm-6 enigma_footer_widget_column %2$s”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<div class=”enigma_footer_widget_title”>’,
‘after_title’ => ‘<div class=”enigma-footer-separator”></div></div>’,
) );
}`
Now each widget have unique id so you can give css to each and different css.Save the changes.
Let’s know further assistance.
Thanks.
The topic ‘Adjust Footer Widget Display’ is closed to new replies.
