Home › Forums › Support › Add extra footer widget row for one 100% width widget below footer widgets
- This topic has 11 replies, 3 voices, and was last updated 3 years, 3 months ago by
Fernando.
-
AuthorPosts
-
March 12, 2023 at 4:50 am #2564748
Terence
Greetings,
As in the title I need an extra footer widget row for one 100% width widget below the footer widget area which has 3 rows.
I’m testing changing themes from Genesis Theme to GeneratePress and it was achieved through a PHP snippet.
I’ve linked to the current site below.
Thanks!
March 12, 2023 at 10:51 am #2565136Ying
StaffCustomer SupportHi Terence,
You can have up to 5 footer widgets in GP, you can set the footer widget number at Customizing > Layout > Footer >Footer Widgets.
Then you can add content to the footer widgets at appearance > widgets.
Then add this CSS to make all footer widgets full width:
.site-footer .footer-widgets-container .inside-footer-widgets { flex-direction: column; align-items: center; }March 12, 2023 at 6:15 pm #2565335Terence
Sorry, I wasn’t clear. I need an extra footer widget row for one 100% width widget below the footer widget area which has 3 footer widgets @ 33% each. Footer widget 4 needs to be below the first row and 100% width.
Thanks!
March 12, 2023 at 6:33 pm #2565347Fernando Customer Support
Hi Terence,
This article should be helpful regarding this: https://docs.generatepress.com/article/footer-widgets/
March 12, 2023 at 11:20 pm #2565471Terence
Hi Fernando, that doesn’t show how to add an extra footer widget row, if you look at the example website, it shows what I’m trying to achieve.
March 12, 2023 at 11:34 pm #2565477Fernando Customer Support
It does. You need to set Footer widgets to 4.
And then add this code:
.footer-widgets .footer-widget-4 { flex-basis: 100%; }March 13, 2023 at 12:30 am #2565516Terence
Fernando, I’ve already tried that. It does not create a new row which is what I need. .footer-widget-4 needs to be on a separate footer widget row. Thanks.
March 13, 2023 at 1:10 am #2565562Fernando Customer Support
Can you provide admin login credentials? I’ll check why it isn’t working.
Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
March 13, 2023 at 1:15 am #2565566Terence
I’m developing it locally, sorry. I’ll figure it out, thanks.
March 13, 2023 at 1:27 am #2565581Fernando Customer Support
Alright. Hope it goes well!
March 13, 2023 at 5:33 am #2565836Terence
BTW Fixed it by making the 4th widget an element with Custom HTML using the Hook
‘generate_after_footer_widgets’.March 13, 2023 at 5:01 pm #2566611Fernando Customer Support
Good idea! That works too.
-
AuthorPosts
- You must be logged in to reply to this topic.