Archived topic
Width widgets
6 replies · Started by Dani on January 12, 2016
Hi Tom,
Can I change the width of the widgets?
I want do this style in my wbsite: http://ge.tt/4grQkdV2/v/0?c
I need two widgets: [First widget 33% for text] [Second widget 66% for Contact Form]
Is possible?
Thanks!
Dani
Hi Dani,
Our Spacing add-on allows you to change the width of the sidebars in "Customize > Element Spacing".
Let me know :)
Hi Tom,
I'm talking about the footer widgets !! I wish the Second Widget (66%-widht) larger than the First Widget (33%-widht).
Only if is posible.
Thanks Tom.
Dani
Ah! This should help: https://generatepress.com/forums/topic/footer-widget-setup/#post-114157
Let me know :)
Hi Tom,
If I only want 2 widgets in Footer, is this the code? (First widget 40% width, second widget 60% width)
add_filter( 'generate_footer_widget_1_width','generate_custom_footer_widget_1_width' );
function generate_custom_footer_widget_1_width()
{
// 40%
return '40';
}
add_filter( 'generate_footer_widget_2_width','generate_custom_footer_widget_2_width' );
function generate_custom_footer_widget_2_width()
{
// 60%
return '60';
}
And I can Use your Download Simple PHP ?
Thanks
Dani
Yes and yes :)
Let me know if you run into any issues.
Thanks!
Dani
