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
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
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 tag:
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
@blublu ,
Step 1. Go to Admin → Online store → Theme > Edit code
Step 2. Find the file theme.liquid.
Step 3. Add this code above
Result:
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!
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?
Works!!! Great!! Now on mobile the menu is all stacked tough instead of nicely aligned.
@blublu , I think it’s ok
Now on mobile the menu is all stacked tough instead of nicely aligned. Can you help me please?
Thank you!! Now on mobile the menu is all stacked tough instead of nicely aligned.
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 tag:
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
So here is what chatgpt helped me do and it worked!!
@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; } }