Hello,
I can’t seem to figure out how to change the footer menu to be arranged horizontally. Can anyone please help?
Also, I want to put the “subscribe to email” to be on the right side (refer to image)
A user needed help converting their Craft theme footer menu from vertical to horizontal layout and wanted to reposition the email subscription section to the right side.
Initial Solutions:
.footer .footer__content-topWorking Solution:
Multiple developers provided CSS code targeting .footer-block--menu .footer-block__details-content with:
display: flexalign-items: centerflex-wrap: wrapResolution:
The issue was resolved using CSS added to the base.css file (for screens min-width 768px). The user confirmed the final solution worked successfully. Screenshots were shared throughout showing the before/after states.
Hello,
I can’t seem to figure out how to change the footer menu to be arranged horizontally. Can anyone please help?
Also, I want to put the “subscribe to email” to be on the right side (refer to image)
Add This Css in your edit Code > base.css File
@media screen and (min-width: 768px) {
.footer .footer__content-top {
display: flex;
align-items: center;
}
}
Try This One
@media screen and (min-width: 768px) {
.footer .footer__content-top {
display: flex;
align-items: center;
}
.footer-block--newsletter.scroll-trigger.animate--slide-in {
width: 50%;
}
}
okay, i may not have been clear with my issue. The footer menu (Collection, Categories) are lined up vertically, I want them to line up horizontally
Thanks!
Hello @jasondane ,
Please add the below-mentioned code at the bottom of the theme.liquid file before tag for displaying the footer menu as horizontal and save.
Output →
I hope the code helps you.
Please share if you have any queries.
Thank you.
Hello,
I am San from MS Web Designer.
Edit code > base.css
@media screen and (min-width: 768px) {
.footer-block--menu .footer-block__details-content {
display: flex;
align-items: center;
flex-wrap:wrap;
}
.footer-block--menu .footer-block__details-content .link{padding-top:0 !important}
}
Do let me know in case of any concerns.
Regards,
San
This one did the trick. Thank you!