Updated on November 12, 2020
This tutorial provides the steps to change the footer widget area in Atmosphere Pro such that three widgets appear side-by-side versus the default, one.
Tested in Atmosphere Pro 1.1.3.
Step 1
In functions.php
, change
// Add support for 1-column footer widget.
add_theme_support( 'genesis-footer-widgets', 1 );
to
// Add support for 3-columns footer widgets.
add_theme_support( 'genesis-footer-widgets', 3 );
Step 2
In style.css
, add the following above the media queries:
.footer-widgets .wrap {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 40px;
}
.footer-widgets .wrap::before,
.footer-widgets .wrap::after {
display: none;
}
@media only screen and (max-width: 800px) {
.footer-widgets .wrap {
grid-template-columns: 1fr;
gap: 60px;
}
}
Thank you! Excellent! Just what I was looking for.
Thank you so very much!
Hello. I did this and liked it on the desktop, but it isn’t mobile responsive so I removed the style css code and changed the function php code back to 1. That change took away two of the footers but now the one remaining is flush left not center. Can you help me center it ,please. Thanks
Hello Heidi.
I updated the tutorial (Step 2’s CSS) to make the 3 footer widgets appear one below the other from 800px and below.
I did this and the footer is still showing as 1 column not 3.
I see 4 column footer widgets on https://prenatalinsights.com.
I am working on a staging site that is not viewable by public with the Atmosphere Pro Theme. I am wanting my footer to look similar to what I have on my current site. I added what you shared above and it gave me three widget areas, yet they still show in one column.
I can try to troubleshoot and advise if you can provide the URL where the problem can be seen.
It is not viewable by the public. I put the info to see the site with the website info below.
I do not see it 🙂
Thank you
https://pnitest.wpengine.com/
User: pnitest
Pass: 7a598c00
I see the 3 columns.
Screenshot: https://nimb.ws/I6QfXW
Great. Thank you for your time. For some reason it does not look like that in my browser, but when I go incognito it does.
which means you are looking at a cached version of the page in your regular browser mode.
Try doing a hard refresh.
Cmd + Shift + R in macOS
Ctrl + F5 in Windows