Tagged: footer
I’m not sure why this happened, but when I updated to Enfold version 4.9.2, the first three columns of the footer stopped aligning with the 4th column. I tried going into footer.php, but I’m not sure what to update to realign the first three columns.
Hey John,
Please try the following in Quick CSS under Enfold->General Styling:
#footer #nav_menu-8, #footer #search-6 {
margin-top: 0;
}
Best regards,
Rikard
Hello,
They line up now, but I wanted the padding above all the columns.
Hi John,
You have following custom CSS code
#nav_menu-3, #nav_menu-4, #nav_menu-5, #search-4 {
margin-top: 0px !important;
margin-bottom: 0px !important;
}
Please change it to following
#nav_menu-3, #nav_menu-4, #nav_menu-5, #search-4 {
margin-bottom: 0px !important;
}
Regards,
Yigit
Where, in Quick CSS?
Hi John,
Yes, you can put it in Quick CSS.
Best regards,
Nikko
I tried this and it didn’t work. It only gave top padding to the first 3 columns, but not the 4th (Company) Column and 5th, (Search) Column.
Hi John,
The reason it does not work is because this code (most likely in Quick CSS) is preventing it from working:
#footer #nav_menu-8, #footer #search-6 {
margin-top: 0;
}
If you remove this code then it should work as it should.
Best regards,
Nikko
But still add this code?
#nav_menu-3, #nav_menu-4, #nav_menu-5, #search-4 {
margin-bottom: 0px !important;
}
Hi,
Please try adding this CSS as well:
#footer .widget {
padding-top: 20px;
}
Best regards,
Rikard
Add this?
#nav_menu-3, #nav_menu-4, #nav_menu-5, #search-4 {
margin-bottom: 0px !important;
}
And this:
#footer .widget {
padding-top: 20px;
}
And delete this?
#footer #nav_menu-8, #footer #search-6 {
margin-top: 0;
}
That worked. Thank you! You can close this.
Hi,
Great, I’m glad that you got it working. I’ll close this thread for now then, please open a new thread if you should have any further questions or problems.
Best regards,
Rikard