All things Shopify and commerce
My footer menu in my dawn theme will not align the first element with others, also it isn't centered on the page (horizontally)
Password is : saghoo
Solved! Go to the solution
This is an accepted solution.
@blublu ,
Step 1. Go to Admin -> Online store -> Theme > Edit code
Step 2. Find the file theme.liquid.
Step 3. Add this code above </body>
<style>
@media screen and (min-width: 750px) {
.footer-block__details-content>:first-child .list-menu__item--link {
padding-top: 0.5rem!important;
}
}
</style>
Result:
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
This is an accepted solution.
Hi @blublu
There is a code to prevent it not aligning.
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
@media screen and (min-width: 750px) {
.footer-block__details-content>:first-child .list-menu__item--link {
padding-top: .5rem !important;
}
}
And Save.
result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Works!!! Great!! Now on mobile the menu is all stacked tough instead of nicely aligned.
This is an accepted solution.
@blublu , if you want this on mobile
Please change the previous code like this
<style>
.footer-block__details-content .list-menu__item--link {
padding-top: 0.5rem !important;
}
@media only screen and (max-width: 768px) {
.footer-block--menu .footer-block__details-content {
flex-direction: column;
}
</style>
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
Hi @blublu,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
.footer-block__details-content .list-menu__item--link {
padding-top: 0.5rem !important;
}
</style>
Here is result :
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
It isn't working, the footer menu's first item is still higher. Would it work if I deleted the menu item and created it anew?
@blublu, I think it's ok
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Thank you!! Now on mobile the menu is all stacked tough instead of nicely aligned.
This is an accepted solution.
@blublu , if you want this on mobile
Please change the previous code like this
<style>
.footer-block__details-content .list-menu__item--link {
padding-top: 0.5rem !important;
}
@media only screen and (max-width: 768px) {
.footer-block--menu .footer-block__details-content {
flex-direction: column;
}
</style>
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
<style>
@media screen and (min-width: 750px) {
.footer-block__details-content>:first-child .list-menu__item--link {
padding-top: 0.5rem!important;
}
}
Here is what I have now and it works. But the menu is now left aligned... I tried adding this right after:
.footer { text-align: center; }
</style>
didn't work..
Hi @blublu,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
.footer-block.grid__item.footer-block--menu ul {
justify-content: center !important;
}
</style>
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
So here is what chatgpt helped me do and it worked!!
<style> @media screen and (min-width: 750px) { .footer-block__details-content { display: flex; justify-content: center; /* Centers the menu horizontally */ align-items: center; /* Vertically centers the items (if needed) */ } .footer-block__details-content>:first-child .list-menu__item--link { padding-top: 0.5rem!important; } } </style>
This is an accepted solution.
@blublu ,
Step 1. Go to Admin -> Online store -> Theme > Edit code
Step 2. Find the file theme.liquid.
Step 3. Add this code above </body>
<style>
@media screen and (min-width: 750px) {
.footer-block__details-content>:first-child .list-menu__item--link {
padding-top: 0.5rem!important;
}
}
</style>
Result:
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
This is an accepted solution.
Works!!! Great!! Now on mobile the menu is all stacked tough instead of nicely aligned.
Now on mobile the menu is all stacked tough instead of nicely aligned. Can you help me please?
This is an accepted solution.
Hi @blublu
There is a code to prevent it not aligning.
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
@media screen and (min-width: 750px) {
.footer-block__details-content>:first-child .list-menu__item--link {
padding-top: .5rem !important;
}
}
And Save.
result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
In Canada, payment processors, like those that provide payment processing services t...
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