In the tutorial requests Trello board, a user asked:
Hi Sridhar, In the Infinity Pro theme, is there a way to add an optin form with a custom background at the footer before the footer menu appear. The optin also can show on every pages of the website. Example websites: http://katenorthrup.com/ and http://nishamoodley.com/ with a custom background. Many thanks
We shall change the number of footer widgets from the default 3 (in Infinity Pro) to 2, add the widgets and arrange them in columns using Flexbox. Additionally, we are going to enable footer widgets on the front page and set up a background image for the footer widgets with a dark overlay.
Tested in Infinity Pro v1.1.2
Step 1
In functions.php
, change
// Add support for 3-column footer widgets.
add_theme_support( 'genesis-footer-widgets', 3 );
to
// Add support for 2-column footer widgets.
add_theme_support( 'genesis-footer-widgets', 2 );
Step 2
In front-page.php
comment out or delete
remove_theme_support( 'genesis-footer-widgets' );
Step 3
Upload your desired footer widgets' background image as footer-widgets-background.jpg
in child theme's images directory.
Step 4
Edit style.css
a) change
To view the full content, please sign up for the membership.
Already a member? Log in below or here.