Shopify themes, liquid, logos, and UX
Hello,
I just need help with my footer menu. On desktop, the last item in the menu falls into a new row underneath.
And on mobile, all of the footer items are stacked vertically. Here is how it currently looks on desktop:
I want everything to sit side by side horizontally, no matter how small the font size must be.
Maybe on mobile, there could be two rows of items.
My site is https://civillain.co/
And the password is applepayday
Please help
Solved! Go to the solution
This is an accepted solution.
Hi @rnogueira
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>
<style> @media (max-width: 767px) { .footer-block__details-content { display: flex !important; flex-wrap: wrap !important; column-gap: 10px !important; justify-content: center !important; } } </style>
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Hi @rnogueira
Do you mean like this?
If it is check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (min-width: 749px){
.footer-block.grid__item.footer-block--menu {
max-width: 100%;
}
.footer__content-top.page-width {
padding: 0px;
}
}
@media only screen and (max-width: 749px){
.footer-block__details-content {
display: grid;
grid-template-columns: 1fr 1fr;
}
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thank you for the reply, but I mean for all of the menu items to be side by side, just like the photo that you attached:
I would like for all of the menu items to lay horizontally on both desktop and mobile. It is fine if it automatically shrinks the font size
I found this code that works and i put it in my theme.liquid file:
<style>
@media screen and (max-width: 767px){
.footer__content-top {
padding-bottom: 3rem;
padding-left: calc(1rem / var(--font-body-scale)) !important;
padding-right: calc(1rem / var(--font-body-scale)) !important;
}
ul.footer-block__details-content.list-unstyled {
display: flex;
justify-content:space-evenly;
}
ul.footer-block__details-content.list-unstyled * {
font-size: 10px !important;
}
}
</style>
How do I wrap it to two rows? Instead of the all in one row?
This is an accepted solution.
Hi @rnogueira
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>
<style> @media (max-width: 767px) { .footer-block__details-content { display: flex !important; flex-wrap: wrap !important; column-gap: 10px !important; justify-content: center !important; } } </style>
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Thank you so much! This works beautifully!
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025