How to use in a footer widget
-
I found a cool trick as I was working on building WP Lifetime Deals and thought I’d share here real quick.
You can use this cool plugin to set a layout (or multiple) as a site-wide footer. Here’s how to do it:
- Go to Theme Customizer > Footer > Layout and set the Column Layout to the single-full-width option.
- Now go to Widgets and add a Custom HTML widget and put your shortcode in it with the layout you want to use as the footer, such as:
[showmodule id="1290"]
. - Now you’ll notice that it’s not fullwidth. So you need to add the following CSS in Additional CSS in the Customizer, or Divi Theme settings:
/* Remove Footer Widgets Padding/Margins */ #main-footer .container, #footer-widgets, .et_pb_gutters3 .footer-widget, #footer-widgets .footer-widget .fwidget.et_pb_widget { padding: 0!important; margin: 0!important; width: 100%!important; max-width: 100%!important; } #footer-widgets .footer-widget li:before { display: none; }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to use in a footer widget’ is closed to new replies.