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:
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
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>
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
hello @blublu
Please tell us clearly what you need in the footer
thanks
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 😍
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
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
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
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>
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
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:
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
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!
hello @blublu
Go to online store ----> themes ----> actions ----> edit code ---->assets ----> section footer.css...>
add the code end of the file
.footer__blocks-wrapper .footer-block--menu {
padding-top: 0.5rem !important;
}
result
Buy me a Pizza
If this was helpful, hit the like button and accept the solution.
Thanks
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024