Community Forums › Forums › Archived Forums › Design Tips and Tricks › 4 Column Footer Genesis Sample Theme
Tagged: footer, genesis sample
- This topic has 8 replies, 3 voices, and was last updated 5 years, 1 month ago by
gvnet.
-
AuthorPosts
-
July 23, 2020 at 5:58 am #500270
gvnet
ParticipantHi
Just wondering if anyone knows how to enable a 4 column footer in the Genesis Sample theme?
I tried this but there are still only 3 Footer Widgets on the Appearance > Widgets page:// Add support for 4-column footer widgets add_theme_support( 'genesis-footer-widgets', 4 );The CSS is easy enough to get the 4th column:
.footer-widget-area { float: left; margin-bottom: 0; width: calc(100% / 4); }Just need the fourth widget!
Many thanks.
July 23, 2020 at 6:14 am #500271Brad Dalton
ParticipantJuly 23, 2020 at 6:20 am #500272AnitaC
KeymasterIt works for me. Did you clear you cache and also add your additional CSS? Give a link to your site.
Need help with customization or troubleshooting? Reach out to me.
July 23, 2020 at 6:21 am #500273gvnet
Participantfunctions.php of the Genesis Sample theme
July 23, 2020 at 6:22 am #500274gvnet
ParticipantHi @Anita,
It works for you on the latest version fo the Genesis Sample theme?
Maybe something is wrong with my functions.php file 🙂
July 23, 2020 at 6:24 am #500275gvnet
ParticipantJuly 23, 2020 at 4:17 pm #500287gvnet
ParticipantHmmm, no good at my end still?
Tried on basically a clean install with genesis sample 3.3.0 here: http://base.hobartwebdesigns.com.au
Add theme support for 4 footer widgets and adjust CSS as per original post. The CSS makes the space for the 4th widget but there is no 4th widget in Appearance > Widgets


A bit more testing...
It does seem like the footer widgets are handled a bit differently in the latest genesis sample. Just enabled Genesis Sample 2.2.3 (2016) - 4 column widgets works perfectly (same site) with add_theme_support( 'genesis-footer-widgets', 4 );
Official support says:
Can I ask where you found that code snippet? Just so I can double-check that it's still a supported Genesis snippet; I did see references to it online, but I didn't find it in the Genesis developer documentation on an initial search.July 23, 2020 at 4:37 pm #500288AnitaC
KeymasterIt worked for me on the one website because I had modified my original file. The code snippet you're using won't work with Sample. The file you need to update is here. If you're in the theme editor, go to this file on the right --> config/theme-supports.php
You can change the number of footer widgets there. It defaults to 3. Change to 4.
Need help with customization or troubleshooting? Reach out to me.
July 23, 2020 at 4:49 pm #500289 -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.