Hi,
I would like to use a full width button as the footer for my site. I have selected a 1 column footer in theme options and added a text widget inside with the shortcode for a full width button.
How can I make it truly full width and remove the padding?
Hi woeph!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
#footer .widget { padding: 0; margin: 0; }
#footer .container { width: 100%; max-width: 100%; margin: 0; padding: 0; }
#footer { padding: 0; }
Cheers!
Yigit
Hi Yigit,
Thanks, that’s exactly what I needed but I still get some padding on mobile and I’m not sure what I need to add in css. Can you please have a look?
Thanks.
Hey!
Please add this below:
@media only screen and (max-width: 767px) {
div#footer .container {width: 100% !important; max-width: 100% !important; margin: 0; }
div#footer .container .flex_column { margin-bottom: 0; }
}
Remove browser cache then reload the page.
Regards,
Ismael
Great. Thanks!